Sent approval to filled in variable once request is submitted and RITM group owner is selected

John Vo1
Tera Guru

So i have catalog item that uses flow designer.  When user fills out the form they don't know who the group owner is for that group.  But once it's submitted the first approval group can find out who the owner is and fill that in under RITM group owner.

JohnVo1_0-1681818994869.png

The issue I'm having is that in when the group puts in the owner and approves it creates the task instead of sending the next approval to the group owner.  Here is my wait for condition in my flow.

 

JohnVo1_1-1681819103895.png

 

1 ACCEPTED SOLUTION

Hi, 

Then, like you designed it the flow fetchs the owner group before the approval. To fix it add or move Your catalog get variables after the first approval (After step 7) and use it instead of getVaiables (Step 1)

Regards

View solution in original post

16 REPLIES 16

Ankur Bawiskar
Tera Patron
Tera Patron

@John Vo1 

So you want flow to wait till approval is done?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Well I want the approver to fill in the group owner first under RITM, save the form and then approve it.  Then I want the 2nd approval to go to the filled in group owner to approve and then task gets created after that.

@John Vo1 

so basically you want flow to wait till the group owner is empty.

Once populated you want flow to send approval

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Group owner is Not Empty.