How to trigger UI Action from Scheduled job script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 05:04 AM
Hi Team,
Below is the Requirement:
Auto trigger the UI Action button twice in a day, before business hours & after business hours.
Can anyone tell me how to trigger UI Action button from Scheduled job script?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 05:10 AM
Hi @sainath3,
UI Actions are meant to be triggered manually.
You would have to duplicate the code in the UI Action in your scheduled job.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 05:45 AM
Hello @sainath3 ,
UI Actions are typically used for user interactions on forms and lists, and may not be the best way to perform server-side operations like a scheduled job. It might be better to encapsulate the logic you need in a Script Include, which can be called both from a UI Action and a Scheduled Job.
If my response helps you resolve your issue. Kindly mark it as helpful & correct. It will be helpful to future readers!
Thanks and Regards,
Abhijeet Pawar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2023 10:45 PM
Thanks, Abhijeet for the response & Best practice.
but in UI Action we do have both Client script & Server Script, now am planning to manage in Script includes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2023 10:44 PM
Thanks, Peter for the response.
but in UI Action we do have both Client script & Server Script, now am planning to manage in Script includes.