Zum Inhalt

.Execute (.workflow-Objektmethode)

Beschreibung

Starts the workflow execution with the given user and company context. Returns the execution record ID.

Argumente

Name

Typ

Beschreibung

UserID

integer

ID of the user on whose behalf the workflow runs

OperatorUserID

integer

ID of the operator user initiating the execution

OperatorUserGroupID

integer

ID of the operator user group initiating the execution

CompanyID

integer

ID of the company context for the execution

StartDateTime

datetime

(optional) scheduled start date and time; defaults to immediate execution

Rückgabewert integer

ID of the workflow execution record created; 0 on error

Beispiel

xxx

Siehe auch