Skip to content
Other versions

Loading…

Workflow Input field

In mosts cases is used to enter free form text, although can be used to save http links, date data or refer to application folder ( as internal link to this folder ).

Attribute Description Required
label The text shown as a label in the user interface. true
name Unique field identifier.
Two fields can’t have the same name in the same task definion. Name must be unique.
true
type Type value. Allowed types:
- text.
- date.
- link.
- folder.
true
value Can specify a default value for this component.
There’s a special case for date types. Data is stored in format “yyyyMMddHHmmss”, take care of it when you’re using OpenKM API.
false
width The width of the HTML element. false
height The height of the HTML element. false
data When present, is an identifier used to load data.
For example to dynamically load the Input value.
readonly Set field will not be able to be modified in user interface. By default the value is “false”. false
timeFormat When input type is date we can specify if want to be able to see and modify hours and minutes. Allowed values:
- hm
- h
- none
false
  • Child elements:
<?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="input test">
<input label="Input label" name="input" />
</workflow-form>
</workflow-forms>