Rollback option in Flow Designer

Rui Nando
Kilo Explorer

Hi all! 

If anyone could assist:

I'm trying to create a flow, on Flow Designer, that when creating a task and ask for approval, if rejected, to go back to the same task without closing or loop (which is currently the case) and ask for approval again.

find_real_file.png  find_real_file.pngfind_real_file.png

 

I know that the rollback option is not available in Flow Designer, but if anyone have an alternative, it would be grand

Thank you in advance!

5 REPLIES 5

Harish KM
Kilo Patron
Kilo Patron

Hi i guess you can use update action once approval is rejected to set the status and fields back to where you wanted?

Regards
Harish

OlaN
Giga Sage
Giga Sage

Hi,

Your requirement doesn't make sense to me.

To go back to the same task again after getting a reject, is a looping-statement.
What's the purpose of the approval, if all it does is to loop until you get an approval accepted?

How about altering your logic, first ask for approval, then, if approved, create the task?

 

Alekhya5
Tera Contributor

Hi Nando, Are you able to achieve this requirement using flow designer?

Riya Verma
Kilo Sage
Kilo Sage

Hi @Rui Nando ,

Hope you are doing great.

 

One possible solution is to use a subflow within your main flow to handle the approval process.

  1. Begin by creating your main flow with the necessary steps leading up to the approval task.
  2. Create a subflow specifically for the approval task. This subflow should handle the approval logic and provide the option for re-approval if the request is rejected.
  3. Within the subflow, add the approval task as a step. You can utilize the built-in 'Approval - User' activity or any custom activity designed for approval.
  4. After the approval task, include a decision point to evaluate the approval outcome. If the request is rejected, proceed to a designated step that handles the re-approval process.
  5. Within the re-approval step, you can use a 'User Task' activity to ask for approval again. Configure the activity to capture the necessary information and route it back to the previous approval step or any appropriate step in the subflow.
  6. Ensure to update the flow logic within the subflow to continue with the subsequent steps or actions based on the final approval decision.
Please mark the appropriate response as correct answer and helpful, This may help other community users to follow correct solution.
Regards,
Riya Verma