can we run a UI Action using Scheduled Job?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2019 05:27 AM
can we run a UI Action (type Button) using Scheduled Job?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2019 05:47 AM
UI actions are triggered when they're clicked, you can't call them from somewhere else.
What you could do is write the code you need in a script include and then call that from the UI action and from your scheduled job. Or just copy the code from your UI action into your scheduled job and make the changes that'll be needed to make it work.
It depends what your UI action is doing but as long as your UI action is only running server side code it should be fine.