web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
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

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 59

#2
Manoj - ManoVerse Profile Picture

Manoj - ManoVerse 50 Super User 2026 Season 1

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 31 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans