approvals not trigged from switch

Anubhav Srivas1
Tera Expert

this is for a catalogue item that has MRVS. we are processing approvals through a workflow and we are using a switch condition to extract the MRVS values.

 

based on the selection i the variable,  the approvals should trigger. but it is not working and the state changes to finished.

 

attaching screenshot.please help.

3 REPLIES 3

Sujatha V M
Kilo Patron
Kilo Patron

@Anubhav Srivas1 : Based on your query, if approvals are getting skipped, please check

 

- Users are tagged to that approval group

- User status is active

 

Similarly its been achieved by collecting the details on a run script and using it in the switch activity. 

SujathaVM_0-1711605729868.png

 

Please mark this as helpful and accept it as a solution if this resolves your query.

Thanks,

Sujatha V.M.

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

Anubhav Srivas1
Tera Expert

Hi Sujatha,

 

the variable in the MRVS is a list collector and we are fetching it from the table: core_country.

can you please help me create this run script? we are basically fetching all the country from this table and users are adding it to the mrvs variable. users can add multiple country and we want approvals to generate based on country selected. 

 

Please help...

@Anubhav Srivas1 Why don't you use Flow designer? 

 

You can get the catalog variables and pick the values (if required, convert them to string) and use the condition to compare and route it. Its effective low code method. 

 

Make your flow simple by grouping the countries and routing to respective approvals activity.

 

Please mark this as helpful and accept it as a solution if this resolves your query.

Thanks,

Sujatha V.M.

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.