wfm.GetEvents
This job returns the list of all established events for an activity or the entire workflow model.
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
STRING |
Yes |
ID of the organization |
|
STRING |
Yes |
ID of the workflow model |
|
STRING |
Yes |
ID of the activity. If this parameter is left empty, all events of the workflow model are returned. |
|
STRING |
Yes |
ID of the client type used. If this parameter is left empty, events for all defined client types are returned. |
|
INT |
Yes |
Combinable flag indicating which events are requested. |
|
INT |
Yes |
|
2. Output Parameters
| Name | Type | Dependency | Description |
|---|---|---|---|
|
BASE64 |
— |
Requested event list in XML format (see note) |
5. Note
<Events>
<Event>
<Id></Id>
<EventType></EventType>
<ActivityId></ActivityId>
<Params></Params>
<Description></Description>
<ClientTypeId></ClientTypeId>
<Script Id="" Name="" Time="" Description="" ScriptLanguage="1">Skript</Script>
</Event>
</Events>
Event — contains additional elements and the Script structure:
-
Id(STRING): ID of the event -
EventType(INT): Type of the event
1= BeforeForward,2= AfterForward,3= BeforeForwardTo,4= ButtonClick,
5= BeforeOpen,6= AfterSignature,7= BeforeCancel,8= SimulateMaskEdit,
10000= StartActivity,10001= EndActivity,10003= PersonalizeWorkItem,
10004= GetWorkItemParams,1000000= Global server script,1000001= Global client script -
Params: for event typeButtonClickthis contains the ID of the button -
Description(STRING): Currently not supported — pass0. -
ActivityId(STRING): ID of the activity for which the event was created -
ClientTypeId(STRING): ID of the client type for which the event was created -
Script: Structure containing the script:-
Id(STRING): ID of the script -
Name(STRING): Name of the script -
Time(INT): Creation time of the script -
Description(STRING): Currently not supported — pass0. -
ScriptLanguage(INT): Script language (1= VB-Script,2= J-Script) -
CDATA: Data (contains the script code)
-