Workflow Text field

Print 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 an 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 the data value is set from the workflow transition, it must not be converted.

true

name

Unique field identifier.

Two fields cannot have the same name in the same task definition. The name must be unique.

true

width

The width of the HTML element.

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

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

false

height

The height of the HTML element.

false
data

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

false

readonly The field cannot be modified in the user interface. By default, the value is "false".

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="200px" />
  </workflow-form>
</workflow-forms>
Table of contents [ Hide Show ]