About us
ProcessMaker Inc. is the developer of the ProcessMaker Workflow & BPM Software Suite. Read more
PMFCancelCase(@@APPLICATION);
header("Location: casesListExtJsRedirector");
die();
HeshanKaru1994 wrote: ↑Fri May 10, 2019 1:08 am So here you have to click cancel button and then submit the form. I want the implementation as once you click on the cancel button it routes to the end of the case.Canceling will stop the case at its current position in the process. Once you cancel the case, you can't route to the end of the case. If you want to route to the last task in the case, then you need to add a path to your process to skip to the last task in the process:
$("#cancelBtn").find("button").click( function() {
$("#routeToLastTask").setValue("yes");
});
amosbatto wrote:If you are using PM 3.3.0 or later, you can cancel cases with parallel tasks.
If you want to do it in a trigger and redirect back to the Inbox, use this code:Code: Select allYour users need the PM_CANCELCASES permission in their roles to cancel cases. You can add a Cancel button to a Dynaform:PMFCancelCase(@@APPLICATION); header("Location: casesListExtJsRedirector"); die();
https://wiki.processmaker.com/3.2/Submit_and_Button_Controls#Cancel_Case
The market for cryptocurrencies is demonstrating a[…]
Hello. For rental housing, there are software solu[…]