reopen the task and continue the flow, when the approval is rejected

Gaurav Vaze
Kilo Sage

I have a requirement of catalog item
following is to be implemented

1st step is create catalog task---->if catalog task is closed complete--->step2
if task incomplete/skipped-----> close req/RITM
2nd step is approval-----> if approved----> step3 catalog task
approval on step 2 is rejected ----> reopen the first catalog task state to open and continue flow from that step
step3 closed completed ---> step 4 ask for approval---> if approved then final task
approval on step 4 is rejected ----> reopen the step3  catalog task state to open and continue flow from that step
step3 incomplete/skipped-----> final task




right now I implemented as follows
step 1: create catalog task(wait condition applied)
if closed complete
do the following ...
                                   wait for close complete
                                   ask for approval
                                    if rejected

                                                       update ritm, update catalog task(state=open)
until ask for approval is approved

create catalog task



same can be followed for the next step
getting error when the approval is rejected, then task reopens, but if I close incomplete/skip, the flow doesn't work

I tried If Else inside the do the following but that causes the inaccessibility to they approval step in the until condition
 


Need help please
will be really helpful if you provide image of actual flow logic(not the diagramtic view)


1 REPLY 1

Gaurav Vaze
Kilo Sage

Ive got the solution for this
I had to create a flow with do the following action where the creation was not involved
much more like a recursive flow call
if anyone wants the same, reply on this thread
Thank you