- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2021 09:40 AM
We want to update the additional comments of the requested item to let the end user know their request has been received and a service desk technician will be reaching out to them. This works fine if the flow trigger is configure to "run flow in background". What we have noticed that if we choose to run the flow "in the foreground" that the update record causes the flow to create 10 tasks of the first catalog task and also create 10 executions of the flow itself. Is there a way to fix this? We want to run this flow in the foreground because the tasks are sequential and we want them to load accordingly when someone closes the next task. Is there a way to update the RITM after it is created without these duplicate tasks being generated?
In the screenshot below, if I remove this update record action, the flow works as intended. I saw in another forum to add a wait condition (which I tried, it waits for 5 seconds) but that does not seem to resolve the duplicate task creations.
Screen shot of that first task, but it created 10 of the same task.
Executions of the 1 flow being requested.
Solved! Go to Solution.
- Labels:
-
Request Management
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2021 10:44 AM
Yes I understand now what you mean now.
Just to confirm; did you add the timer before the Update Record action? The support article here has that suggested fix:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0963931
Failing this, I'm all out of ideas other than reverting to run in the background.
Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2021 12:05 PM
Actually I take that back, I am using a wait condition instead of a timer. I do not see "timer" as an option in my flow designer. Does that require a specific plugin?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2021 12:15 PM
Nevermind, I found it, it is under the flow logic section. This seemed to resolve the issue. Hopefully ServiceNow comes up with a fix for this in the future as this seems like pretty basic functionality you would want to have.
Solved case here:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0963931
Timer logic examples:
https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/administer/flow-designer/concept/flow-logic-wait-for-a-duration.html#d1844553e241
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2021 12:26 AM
Excellent, glad you got it sorted 🙂