Workflows Functions

Activities(name?) : []

Returns available activities.

Activities Parameters

name? : ?
String name to return one activity, true to get all activities, omit to get all names.

Activity(name, …)

Calls activity function and returns activity result (used by workflows).

Activity Parameters

name : String

? : ?
Activity parameters.

Workflow(fullName, required = true) : Workflow?

Returns public workflow by its full name.

Workflow Parameters

fullName : String
Workflow full name in the form ‘SolutionName.WorkflowName’, or integer workflow ID.

required : Boolean = true
False to not fail if workflow was not found and return null.

Workflow Examples

var workflow = Workflow(1001);
var workflow = Workflow('TargetSolution.TargetWorkflow', false);

Leave a Comment

Your email address will not be published. Required fields are marked *