Human Workflow Diagram Widget - Open Event (Handled)
The widget opens and displays a single process structure or process status.
Event Name
com.ibm.widget.Open
General purpose: Opens the requested resources.
Payload
Type: JSON
{ "type" : "object",
"description" : "Reference single or multiple items.",
"properties" : {
"id" : { "type": "string", "optional": "true" },
"type" : { "type": "string", "optional": "true", "requires": "id" },
"name" : { "type": "string", "optional":"true" },
"items" : { "type":"array", "optional":"true", "items": { "properties": {
"id" : { "type": "string" },
"type" : { "type": "string" },
"name" : { "type": "string", "optional":"true" }
} } }
} }
Single item can be specified directly with the id and type property.
Multiple items are specified in the items array property.
When both are omitted, no action is performed.
The type property identifies the type of the identified object.
If available, the widget uses the top-level id as identifier,
otherwise the first entry in the items array property.
The type property must be one of the following object types
- com.ibm.bfm.ProcessTemplate
Displays the process structure of the process definition identified through
the "id" property.
- com.ibm.bfm.Process
Displays the process status of the process instance identified through
the "id" property.
- com.ibm.task.Task
Displays the process status of the process instance associated to
the task identified through
the "id" property.
The task must be a todo task defined inline in the business process.
If the type is not one of these, the item is disregarded and no action is performed.
The user must have at least reader rights for the process instance.
Handled Since
6.2.0.1
Parent Topic: Human Workflow Diagram Widget