Skip to main content

Notifications

Announcements

No record found.

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
    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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans