Trigger the execution of a scheduled Report
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
8 hours ago
Good Morning
I am trying to find a way to trigger the execution of a scheduled Report from a Catalog Item. I was trying to do it as a client script on a variable when the variable answer changes to "Yes Please", but my script below does not work,
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue === '') {
return;
}
if (newValue == 'Yes Please') {
var gr = new GlideRecord('sysauto_report');
if (gr.get('bb6fd080832c971069d58078beaad32d')) {
SncTriggerSynchronizer.executeNow(gr);
}
}}
My use case is that I am creating a catalog item, to allow a non Dev team to be able to add or remove variable choice options on a certain Variable of a catalog item, by means of an incoming transform map, but I want to give them the ability to get the current list of options for that variables emailed to them as a spreadsheet, so they can update that and then email it back in.
Is anyone able to help or have any other ideas?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
8 hours ago
Give them proper access to use the builder to do so. If you are allowing them to update Catalog Items, why this very big workaround that doesn't work?