Contents

didFinishRunningWithError:

Sent by the action to itself when it has finished running asynchronously.

Declaration

- (void) didFinishRunningWithError:(NSDictionary<NSString *,id> *) errorInfo;

Parameters

  • errorInfo:

    If an error occurred during asynchronous running of the action, upon return contains an instance of NSError that describes the problem.

Discussion

An action that overrides runAsynchronously(withInput:) should invoke didFinishRunningWithError: on completion, so that Automator can resume running the workflow that the action is part of.

See Also

Deprecated