Trying to Disable execute Button While Async Job Runs
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2024 12:35 AM
We would like to be able to disable the 'Execute Now' button for a Certification Schedule while the invoked async job runs.
The UI Action is inherited from the sysauto table. T however, the button is hidden for ALL schedules and the value never gets reset by the script, so the button never comes back.
Condition: !current.isNewRecord() && !current.getED().getBooleanAttribute("disable_execute_now") && !(current.getTableName() != 'cert_schedule')
Script:
current.update();
SncTriggerSynchronizer.executeNow(current);
0 REPLIES 0