Run same workflow multiple times based on records from GlideRecord query
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2017 10:34 AM
I have a list of items that I need to create an Incident for each of those items.
What is the best way to do that?
1. My first thought is in the scheduled job that will run nightly get my list of items that I need Incidents created for and start the workflow to do the processes for each item.
???I believe that will work, but not sure of the performance issues of having up to 150 (at most, probably much less than that) workflows running on the Incident table at a time.
2. Directly in a workflow can a use Run Script to get my list of items then use a 'Parallel Flow Launcher' to create the Incidents?
I've never utilized 'Parallel Flow Launcher' and haven' found a good example of running the same workflow over and over from the items queried in Run script.
Any suggestions on the best way to handle this would be appreiciated!!
- Labels:
-
Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2017 11:59 AM
So ,how do you initiate this review process ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2017 12:29 PM
Scheduled job.. .and I'm trying to decide whether from the script there to kick off the workflow for each review the needs to be done OR just kick off the workflow from the script and have that get the list of apps that need review and utilize the parallel flow launcher to initiate the subflow (review process) for each of the apps.