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

OlaN
Giga Sage
Giga Sage

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

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).

Amit Verma
Kilo Patron
Kilo Patron

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.

So if I understood it correctly (see picture), I just setup countries and reference to users and this table then can be called out from Flow and based on evaluation of condition, it gives an approval.