Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Convert Workflow to Flow Designer

Allen12
Tera Guru

I do most of my work in Workflow Editor,  I want to start doing more in Flow Designer.  I want to create a Subflow that would verify an associate has a manager assigned to them.  If not create a Task to assign manager and then allow Flow to move to manager approval.  I am not sure where to start.  I assume this would be a good process for a subflow.

 

find_real_file.png

1 ACCEPTED SOLUTION

Sorry I can give you steps to

1. Inputs

find_real_file.png

2. Get variables from item if you want

find_real_file.png

3. if Manager is not empty

find_real_file.png

4. Create catalog task

find_real_file.png

5. Add Approval for manager

find_real_file.png

Please mark my answer correct and helpful if applicable.

Thank you
Prasad

View solution in original post

4 REPLIES 4

MattiasJonsson
ServiceNow Employee
ServiceNow Employee

That seems very doable.

I would suggest using inputs to your subflow, a reference to the RITM/sc_req_item, and possibly the user if you don't pull that from the RITM.requested_for / RITM.parent.requested_for.

 

If correct or helpful, please indicate so!

 

Prasad Pagar
Mega Sage

Hi Allen,

You can do something like below

find_real_file.png

Please mark my answer correct and helpful if applicable.

Thank you
Prasad

Sorry I can give you steps to

1. Inputs

find_real_file.png

2. Get variables from item if you want

find_real_file.png

3. if Manager is not empty

find_real_file.png

4. Create catalog task

find_real_file.png

5. Add Approval for manager

find_real_file.png

Please mark my answer correct and helpful if applicable.

Thank you
Prasad

Allen12
Tera Guru

Thank you Prasad,  I wasn't clear on how to get my inputs.  This will help for this application and in the future.