Multilevel approval for different managers/countries

martinkruml
Tera Guru

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!

1 ACCEPTED SOLUTION

@martinkruml 

 

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.

View solution in original post

10 REPLIES 10

@martinkruml 

 

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.

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!

@martinkruml 

 

Suppose I have a decision table as shown below :

AmitVerma_0-1722595292293.png

 

Configure the Make a Decision flow logic as below :

 

AmitVerma_1-1722595384602.png

 

Here, Country is a flow variable. Once you click done, it will look like :

 

AmitVerma_2-1722595435507.png

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.

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.

@martinkruml 

 

You can get Requested For country as below :

 

AmitVerma_0-1722596931636.png

 


Please mark this response as correct and helpful if it assisted you with your question.