wfm.SetEventScriptRelation

This job associates an event with a script.

1. Input Parameters

Name Type Required Description

OrganisationId

STRING

Yes

ID of the organization.

WorkflowId

STRING

Yes

ID of the workflow.

EventId

STRING

Yes

ID of the event.

ScriptId

STRING

Yes

ID of the script.

Action

INT

Yes

Action to be performed:
1 = set association;
2 = delete association.

2. Return Value

(INT): 0 = Job successful, otherwise error code.