You have full access to the workflow message being sent to and from the client, through customization.
The workflow message is presented to the unit in an object-based format. At the top level, you have access to a WorkflowMessage object, constructed with an XML-encoded string.
WorkflowMessage object properties and methods
The WorkflowMessage object has these properties and methods:
- Properties
- header (string)
- requestAction (string)
- workflowScreen (string)
- Values (MessageValueCollection)
- Methods
- createFromString (workflowMessageAsString)
- parseMessageValueCollection (valuesNode, messageValueCollection)
- serializeToString()
- serializeValues (values, prefix)
MessageValueCollection properties and methods
The MessageValueCollection object has these properties and methods:
- Properties
- key (string)
- state (string)
- Methods
- add (key, value)
- clear ()
- getData (key)
- remove (key), where the key parameter is a string and the value parameter is either a MessageValueCollection or a MessageValue
MessageValue object properties and methods
The MessageValue object has these properties:
- key (string)
- type (string) – one of BOOLEAN, NUMBER, DATETIME, TEXT, or LIST
- value (string)