Workflow Button field
Buttons are typically used by users - in the user interface - for decision-making.
For example, two buttons, accept and deny. One to accept something and the other one to deny.
Attribute | Description | Required |
---|---|---|
label |
The text is shown as a label in the user interface. |
true |
name |
A unique field identifier Two fields can't have the same name in the exact task definition. The Name must be unique. |
true |
transition | If present, a process instance token will follow the indicated transition. | false |
confirmation | The button will show as a popup with an operation confirmation message. The message text used is the confirmation value. | false |
validate | The default value is "true". | false |
style |
Icon style applied to the button. Possible values:
|
false |
color |
Color applied to the button. Possible values:
|
false |
width |
The width of the HTML element. In the case of KCenter, UI must use width values based on %, for example:
|
false |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE workflow-forms PUBLIC "-//OpenKM//DTD Workflow Forms 2.7//EN"
"http://www.openkm.com/dtd/workflow-forms-2.7.dtd">
<workflow-forms>
<workflow-form task="evaluate price">
<button name="deny" label="Deny" transition="deny"/>
</workflow-form>
</workflow-forms>