wfm.SaveEvent
This job sets up an event for an activity. If the parameter EventId is set, the values Params and Description are reset for an existing event.
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
STRING |
Yes |
ID of an event. Must be empty if this is a new event. |
|
STRING |
Yes |
ID of a workflow model. |
|
STRING |
Yes |
ID of an activity. |
|
INT |
Yes |
Type of an event (see note). |
|
STRING |
Yes |
For event type |
|
STRING |
Yes |
Description of the event. |
|
STRING |
Yes |
ID of the organization. |
|
STRING |
Yes |
ID of the client type used. |
2. Output Parameters
| Name | Type | Dependency | Description |
|---|---|---|---|
|
STRING |
— |
ID of the created or updated event. |
4. Note
Valid values for EventType:
-
1= BeforeForward -
2= AfterForward -
3= BeforeForwardTo -
4= ButtonClick -
5= BeforeOpen -
6= AfterSignature -
7= BeforeCancel -
8= SimulateMaskEdit -
10000= StartActivity -
10001= EndActivity -
10002= BeforeStartSubProc -
10003= PersonalizeWorkItem -
10004= GetWorkItemParams