Workflow Text field

Print a text that can contain HTML tags.

AttributeDescriptionRequired

label

The text is shown as a label in the user interface.

From version 7.1.41 the label can render HTML. In the case of HTML value the string must be encoded, for example:

<font color="red">red text</font>

must be converted to

&lt;font color=&quot;red&quot;&gt;red text&lt;/font&gt;

You can use an online XML entity encoder like  https://coderstoolbox.net/string/#!encoding=xml&action=encode&charset=us_ascii

If set the data value from the workflow transition, then must not convert the value.

true

name

Unique field identifier

Two fields can't have the same name in the exact task definition. The name must be unique.

true

width

The width of the HTML element.

In the case of KCenter, UI must use width values based on %, for example:

  • width="50%" will work
  • width="100px" will be ignored in the KCenter UI.

 false

data

When present, it is an identifier used to load data.

false

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE workflow-forms PUBLIC "-//OpenKM//DTD Workflow Forms 2.6//EN"
                                "http://www.openkm.com/dtd/workflow-forms-2.6.dtd">
<workflow-forms>
  <workflow-form task="text test">
    <text label="text label" name="consulting_text" width="100px"/>
  </workflow-form>
</workflow-forms>
Table of contents [ Hide Show ]