How to handle doc rejected by user in the script.
and what happened to the rejected one on action center
Hi @Ahmad_Rais
Just want to clarify. Are you asking how to create a custom form in Action Center for human approval/rejection and then what happens after?
If so, you can use the UiPath Form activities to create a custom layout of an approval form. You can add buttons for Approve/Reject and you can add events on those buttons for when they are clicked.
You would also make use of “Wait for task and resume” activities which suspends the process and pauses it while waiting for Action Center feedback from a human-in-the-loop. Once rejected, it will trigger the task to continue processing and take the necessary route into your process further down.
Your second question is what happens to rejected ones in Action Center: They will move to “Completed” category with a “Declined” status and will trigger the process to move to the “Rejection” condition that you need to configure in Studio. It will terminate the process and perhaps send an email (whatever you need - you can set this up).
Let me know if this makes sense and if you need assistance setting it up ![]()