Instance Method

valueForVariable(withName:)

Returns the value of the workflow variable with the specified name.

Declaration

func valueForVariable(withName variableName: String) -> Any?

Parameters

variableName

The variable name.

Return Value

The value for the variable. Returns nil if no variable is found with the specified name.

See Also

Getting information about the workflow

var actions: [AMAction]

Returns an array of the workflow’s actions.

var fileURL: URL?

Returns a URL that specifies the location of the workflow file.