Yesnobutton - bluesoft-rnd/aperte-workflow-core GitHub Wiki
It is extension of default button. Before the transition, user must answer for question, if he choose: "yes" the transition is made, if choose "no" the view will back to form.
It is crucial to arrange questions, the way "yes" should lead to transition and "no" should not.
All the attributes are the same as in Default, except:
Attribute name | Type | Required | Default value | Description |
---|---|---|---|---|
question | String | False | Question to be asked | |
title | String | False | Title of question window |
This example demonstrates usage of Comment button. .
<actions>
<config.ProcessStateAction bpmName="OK" buttonName="YesNoButton" styleName="" title="Most important question ever!" skipSaving="false" autoHide="false" priority="1" description="" notification="" label="" question="Are you fan of Aperte workflow?" actionType="" markProcessImportant="" >
</config.ProcessStateAction>
</actions>