Need to create a subflow

PRAGHATIESH S
Tera Expert

Hi,

I want to create a subflow with some conditions which are mentioned below.

 

In the catalog item "Requested For" user having "Manager", it will trigger the approval to that manager. If that user doesn't have the "Manager", it will trigger the approval to "XY" assignment group.

 

How to achieve this using subflow, can any give an idea about it.

1 ACCEPTED SOLUTION
3 REPLIES 3

Mark Manders
Mega Patron

Why make it a subflow? Why not just make it an action to decide on the approver? 

Use the 'requested for' as input (for either which solution you go) and then have a script step in there to check on the manager and if no manager, add the group. You could also put the group in as input (if it's not always the same group). The output is the approver/group you can use in your set approval step.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Shruti
Mega Sage
Mega Sage

Shruti_0-1731932385259.png

 

Shruti_1-1731932403204.pngShruti_2-1731932445314.png

 

Shruti_3-1731932467372.pngShruti_4-1731932497068.png

 

Thank u @Shruti