Skip to main content

Consent Revoking

The Consent Revocator object is used to cancel an action request at any step of the business process. The main purpose of use is to cancel any Business process step pending in an Approval Check and continue the flow in a different direction.

For example; When approval is sent to a Position object in the flow, if the person in the object does not advance the process within a certain period of time, at the end of this time, the request waiting for action on the corresponding position object can be canceled using the Approval Revocator object and the flow can continue. Or, according to the flow scenario, if there is no need for a pending action request on any object, the pending request can be canceled using this object.

When the object in the Flow design screen is clicked, the object properties appear in the Property Viewer panel.

When the Approval Revoke object is clicked, there are "Appearance", "Properties" and "Events" tabs in the Property Viewer panel.

Consent Revocation

Appearance

Text Configs

'Object Name' - The name of the object to be used on the system side. On the code side, the object is accessed by the value that is written in the object name field.

'Caption' - The area where the object's title text is entered.

'Is Lock' - This field is activated if the object is not to be moved at the time of design.

'Size' - The part where the width and height of the object are adjusted.

Properties

Approval

'Target Type' - From this field, the object whose pending action record is desired to be rejected is selected. In this field, the type of object in the flow design screen where self-action is expected, such as Group, Flow Stop, Position, should be selected. Depending on the type of selection made, the Target Object field becomes visible.

In addition, by using the "All" option without any step, it is possible to cancel all pending approvals regardless of which Approval Check the business process is in at that step, and allow the flow to continue from the corresponding "Approval Revocation"** object.

'Target Object' - The field that appears when one of the selections in the Target Type field is Group, Flow Stopper, Position. The Target Type field lists the stream objects according to the type selected. Whichever object wants to cancel the pending operation, the selection of the relevant object is made.

Consent Revocation Consent Revocation Consent Revocation

INFO

It is checked by the system that the attached properties on the object are correct. When a missing feature is found, a red exclamation point icon can be displayed on the object, and hovering over the icon with the mouse pointer can display what is missing or incorrect.

Consent Revocation

Events

The events owned by the Approval Revoke object are located in the "Events" tab in the Property Viewer panel. Each event is triggered at different runtime moments, performing its own unique operations. Code written by the developer to these events is also executed at the time the corresponding event is triggered. To write code for any event, double-click the appropriate event line from the Events tab. The screen is directed to the flow code editor section named "FlowName.cs" and the method block for the clicked event is automatically created. The developer can construct any code block he wants in this method. Next to the event whose method is created on the code side by clicking from the Events tab, the method name information is automatically generated and the relationship between the event and the method is specified.

Consent Revocation