Yesnocommentbutton - bluesoft-rnd/aperte-workflow-core GitHub Wiki

It is extension of default button. It almost the same as: YesNoButton 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. Additionally he must provide comment. Unlike YesNoButton there is no possibility to add own question or title.

It is crucial to arrange questions, the way "yes" should lead to transition and "no" should not.

Attributes

All the attributes are the same as in Default, except:

Attribute name Type Required Default value Description
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

Examples

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>

⚠️ **GitHub.com Fallback** ⚠️