How to execute scheduled import in flow designer??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2023 10:43 PM - edited 01-30-2023 10:52 PM
Hello all,
I want to execute the scheduled import 3 times in the flow. And if it has given error then incident will be created. I have tried this below is screen shots and script using custom action.
But by doing it. It is creating execution records multiply one by one any assistance on this...
Input is rec ref - scheduled import record
(function execute(inputs, outputs) {
var rec = new GlideRecord('scheduled_import_set');
rec.addQuery('name','Example LDAP User Import');
rec.query();
if(rec.next()){
count++;
SncTriggerSynchronizer.executeNow(rec);
}
})(inputs, outputs);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 11:39 AM
@martin63 what is your code for the scheduled import?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 01:02 PM
Hi @Community Alums ,
Please check the below video:
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Sumanth Meda