- 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-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-02-2024 03:13 AM
So I setup the decision table, as showed in the picture, I am calling it from Flow Designer through "Make a decision" and I am sort of "unable" to put "make a decision" flow logic into it. Any tips on how to fix it? I am basically stuck at "connecting" the dots to make it work.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2024 03:44 AM
Suppose I have a decision table as shown below :
Configure the Make a Decision flow logic as below :
Here, Country is a flow variable. Once you click done, it will look like :
You can add your further logic as per the approver.
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 04:04 AM
I see now! Thanks a lot! One more question tho, as I am refering to Country Code, does it need to be visible in the task form in order to evaluate or it can be done based on the person Requested For..
For example
Requested For is person with (CZ), but it's not visible, but it can be referenced from sys_user table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2024 04:09 AM
You can get Requested For country as below :
Please mark this response as correct and helpful if it assisted you with your question.