Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Triggering script on a daily basis

(0) ShareShare
ReportReport
Posted on by

Hi,

I have made a script (using jScript) which reads a value from a webpage and updates a certain field on a record to the value. The goal is for this script to run on a daily basis with a 24 hour interval.

I added the script to the form on which the field is displayed. The script is run 'onSave'.

I then tried to make a workflow that updated the record every day, but this didn't trigger the script.

Can anyone come up with a solution on how to trigger the script daily (either by onLoad or onSave)?

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Triggering script on a daily basis

    Hi Helena,

    This is not possible using workflow to trigger javascript.As JavaScript executes client side,you can say with UI action, so until and unless you make any action in UI JavaScript code will not trigger.

    So you can implement the same functionality as your javascript with workflow(flow).then you can easily trigger it every day automatically.

    Regards,

    Leah Ju

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106 Most Valuable Professional

#3
Eugen Podkorytov Profile Picture

Eugen Podkorytov 95

Overall leaderboard

Product updates

Dynamics 365 release plans