Contents

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 a Workflow