How to Cancel a process if the Edit Page element is canceled
Hi All,
I have a BP with few elements, including the Edit Page element.
Problem is that, after opening the Page and hitting cancel, it does not cancel the process, so it get stucked in Running status.
I would like to use this action "Cancel" to setup the Business Process to handle with this information on a conditional flow. Is it possible?
Like
Hi Paulo,
Thanks for raising this question. The behavior you’re describing is actually expected in the current versions of Creatio. The Edit Page element in a Business Process does not “cancel” the process itself when the user presses the Cancel button.
Here’s how it works:
- If all required fields on the page are filled in and the user presses Cancel, the Edit Page element will be considered completed, and the process will continue according to the next flow.
- If required fields are not filled in and the user presses Cancel, the element is not completed, which means the process stays in the Running state and the conditional “Cancel” branch won’t be triggered. That’s why you see it “stuck.”
As a workaround, you can:
1. Set all fields optional by default.
1.1 Add the checkbox to the page (for example "make required").
1.2 Create a business rule for the fields:
- If the checkbox is checked the fields become required, so the user must fill them in to proceed.
- If the checkbox is unchecked the fields stay optional, and the process can be canceled without blocking.
2. Use only optional fields.
3. Use Classic UI (7.x) pages.
You could also try this approach where the edit page task gets canceled after a certain period of time: https://customerfx.com/article/automatically-cancelling-user-tasks-afte…