Flow based on variables for Service Catalog RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello Team,
I have an issue related to flow. Help me to achieve this.
Once a request submitted, and RITM gets created.
We have two variables:(check box)
1) request approval
2) Approval not required
So, after ritm gets created, and if a user checks- "request approval" variable and save ritm it should go to approvals and once approved then catalog task.
If they select - "approval not required" and saves ritm it should directly create Catalog tasks.
Now, creation of approvals and catalog task is fine and working well.
Issue:
How we can make the flow waits till they select any checkbox variable on ritm level. so, once the check it should proceed further.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
I have encountered similar requirements and met the unfortunate realization that Flow Designer fails miserably in this regard. This is something that works so effortlessly in the now legacy Workflow Editor but it's a foreign concept in Flow Designer. It's as if the development team never intended Flow Designer to be used in real life Service Catalog scenarios. There are some workarounds suggested in Community posts, but I couldn't get any of them to work reliably except this one - create a new field on the sc_req_item table that will be updated instead of the variables, or re-purpose an existing unused field. In either case, the users will either update the field directly, or you can create a Business Rule to update the field when the variable is updated. I know, it stinks. ServiceNow's own documentation says to avoid using Catalog variables in wait for conditions, if you can believe that. I have found this recommendation to be sound - results are inconsistent / unpredictable when executing a flow that waits on a catalog variable. It works, until it doesn't...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Follow below documentation
If this helped to answer your query, please mark it helpful & accept the solution.
Thanks,
Bhuvan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@Bhuvan , please understand the issue properly.
Flow. I have already created and working fine. Please check details which I mentioned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Did you go through links I shared ?
Its is not to setup the flow but how to add stages in Flow Designer and cater to the functionality that works out of box in Workflow Editor.
As you might know, Workflow editor will not be packaged with new instances and for existing instances, ServiceNow recommends using Flow Designer though legacy support is still available for Workflow Editor.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2077859
If this helped to answer your query, please mark it helpful & accept the solution.
Thanks,
Bhuvan