Canceltaskbutton - bluesoft-rnd/aperte-workflow-core GitHub Wiki
Button showing cancel warning. It is useful for transitions which cancels process. This button bypass validation(If you cancel, you don't need to check a form).
All the attributes are the same as in Default, except:
Attribute name | Type | Required | Default value | Description |
---|---|---|---|---|
mustAddComment | Boolean | False | False | If after confirming cancel of process, user should fill comment(true or false) |
askForCommentKey | String | False | true | Key for process Attribute, If attribute equals (true) or empty, then the comment form will be shown otherwise comment window will stay hiden |
This example demonstrates usage of Cancel task button. .
<actions>
<config.ProcessStateAction bpmName="OK" buttonName="CancelTaskButton" styleName="" mustAddComment="true" skipSaving="false" autoHide="false" priority="1" description="" askForCommentKey="" notification="" label="" actionType="" markProcessImportant="" >
</config.ProcessStateAction>
</actions>