web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)?

I have the same question (0)
  • 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 117

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 117 Super User 2025 Season 2

#3
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 83

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans