Need to develop a flow

rambo1
Tera Guru

Hi Team,

I need to develop a flow for below requirement :

1.when RITM is created , a catalog task should be created and assigned to 'x' group. Once this task is closed , another task should be opened and it goes for approval.

2.if approval is rejected , first task should be reopened and once this is closed it should reopen 2nd task and again approval should trigger and this should go on till 2nd task approvals are approved and its closed complete.

3.once 2nd task is closed complete , then 3rd task should be created and on completion it should closed RITM.

I am good with workflow , but not sure on how to do this on flow . Please help me with this . I am stuck at 2nd point.

7 REPLIES 7

GlideFather
Tera Patron

HI @rambo1 

where are you exactly stuck? What's your question?

Also, please share screenshots what you have to review it by somebody here

 

EDIT: formatting, re-phrased

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


I am able built whole flow , task 1 and wait till it gets completed. Then task 2 and approvals.

But if apporval on task 2 is rejected then task 1 should re open and after its completion , task 2 should open and approvals should go to requested state.

in workflow there is a activity called roll back for these kind of cases , where we can loop but in flow how do I do it ?

AndersBGS
Tera Patron
Tera Patron

Hi @rambo1 ,

 

from top of mind, you need to add an if reject then set state on task for one and wait for completion. When done set task to state and wait for compleation. When task 2 is completed again, go back and ask for approval. This should do the trick.

 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

Ankur Bawiskar
Tera Patron
Tera Patron

@rambo1 

Unless you start you won't learn.

I don't think it's a valid business requirement.

If Task1 is completed and then approval is rejected why to reopen?

What did you start and where are you stuck?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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