ایجاد/بالابردن Cancel End Event
Original Bizagi title: Low-code Process Automation > Studio Cloud - Authoring environment > Bizagi Studio > Process wizard > Business Rules > Business Rules examples > Cases and activities > Raise Cancel End Event
اتوماسیون فرایند Low-code / محیط طراحی Studio Cloud / Bizagi Studio / Wizard فرایند / Ruleهای کسبوکار / قواعد کسبوکار / مثالهای Ruleهای کسبوکار / پرونده ها فعالیت ها / ایجاد/بالابردن Cancel End Event
When you have a transactional Sub-Process it is possible for it to have a Cancel End Event. Bizagi allows you to raise cancel end events from Business Rules.

To raise the cancel end event just use following function, this will interrupt the transactional Sub-Process and deviate the normal path towards the cancel path. This function will add the RaiseCancelEndEvent log file.
CHelper.RaiseCancelEndEvent(String message) ;
The following attributes are needed:
•message: A tag to identify the cancellation in the log file.
Example
Consider the following process, for an online retailer.

The Fulfill Order transactional Sub-Process is as follows:

If the credit card is not valid a Cancel End Event will be raised. To do so, we are going to set the function into an "On Exit" activity action.

Then, if the credit card is not valid, the path of the process will follow the cancellation path.

When the cancellation is raised, a log file will be created.
Last Updated 2/9/2022 3:19:31 PM