UpdateEvent Parameters and Valid Execution Modes
The valid execution mode for UpdateEvent is SYNCHR.
The parameters of UpdateEventare as follows:
Name | Semantics | Type | Valid Values | Multi-plicity |
---|---|---|---|---|
Direction: In | ||||
eventState (Optional) | The latest state of the workflow. | string | Predefined state: DONE.
Custom states can be defined in domain entry table. |
0..1 |
eventStatus (Optional) | Set to show completion status of the workflow. | string |
SUCCESS ERROR CANCELLED |
0..1 |
GlobalConversationID (Optional) | Set Event.ConversationID to this conversation. | long | The workflow variable “ConversationID” holds conversation ID from the last state transition. Usually that is the value you want to input. | 0..1 |
eventType (Optional) | The type of the event. Appended to the existing eventType. | string | CAT – if catalog event.
Only has to be set if workflow is initiated by document of unknown type. Followed by “-“ and other descriptor. |
0..1 |
eventDescriptor (Optional) | The descriptor for the event. | string | select * from domainentry where domaintype like 'APPFUNCTION' for valid value list. This is the same as subtype attribute in MLXML document. It only has to be set if workflow is initiated by document of unknown type. | 0..1 |
deploymentMode (Optional) | Whether this is a test or production event. | string | Production
Test |
0..1 |
ALL OTHER VALUES | Event Details | any | All other values are inserted into EventDetail table. |
You can pass any value to this activity for storage into EVENTDETAIL table. This trick can help you capture custom information for debugging and reporting. Example, to capture the GLN,
<Parameter direction="in" type="string" eval="catalog" name="senderGLN" source="SenderGLN">inDoc</Parameter>
Copyright © Cloud Software Group, Inc. All rights reserved.