Instance Property

canRun

Returns a Boolean value that indicates whether the receiver's workflow is able to run.

Declaration

@property(readonly, nonatomic) BOOL canRun;

Return Value

YES if the controller’s workflow is able to run; NO otherwise.

Discussion

You might use this method to determine when to enable a “Run” button or other UI element you use to run the workflow.

See Also

Getting workflow information

paused

A Boolean value that indicates whether the receiver's workflow is currently paused.

running

A Boolean value that indicates whether the receiver's workflow is currently running.