- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 11:37 PM
Hello!
I am fairly new to Flow Designer, so I am just making sure, if anything like this is possible and maybe get some tips here.
Desired criteria: new IT Spend Request
Basically the IT spend request is ok to create, it comes down to approval, when it is checking ISO Code of country from person who's put in "Requested For", based on that, it should ask an approval from specific person for that country, after that specific person approves it, it should ask for an approval another person (same for every country).
I managed to create this as "Flow" with multiple If this country XX then ask for approval this person XX, but I got to 33 steps, which I read, is not really good practice for "Flow" and I should use Subflow, so I was wondering using flow to check the approvals for various persons.
Is this somehow managable? Thanks for tips!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2024 12:40 AM
Exactly ! You need to make use of Make a Decision flow logic in your flow to call it. Refer https://docs.servicenow.com/bundle/xanadu-build-workflows/page/administer/flow-designer/concept/flow...
Please mark this response as correct and helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 11:47 PM - edited 08-01-2024 11:48 PM
Hi,
The requirement sounds like it could be solved in a more dynamic way, making all the if-else-if- hops unnecessary.
Would it be possible to just have one way of doing the first approval, by putting in a reference of the person in charge of the country by the requested for ?
I mean that you have a table, or structure somewhere that points to which person is approver for each country, and get the results from there.
So the first approval should be something like: requested for -> country -> country manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2024 12:06 AM
Hi!
Only "reference" I have is excel sheet with names for each country (43). Some countries have this FirstLevelApprover, some don't (in this case, it should go automatically to 2ndLevelApprover - same person for every country).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2024 12:12 AM
Hi @martinkruml
I think decision table will be the right approach to handle this requirement. Refer https://docs.servicenow.com/bundle/xanadu-application-development/page/administer/decision-table/con... and give it a try.
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2024 12:36 AM