Skip to main content

Function: isAsyncCompletionRefusal()

isAsyncCompletionRefusal(command, enabled?): boolean

True for a node SCHEDULE_ACTIVITY that the gate refuses only because its node type completes asynchronously and c.asyncCompletion is off. Such a command is reported as durable.activityTypeNotAllowed (the core refusal, exactly as before H5) rather than as an unsupported command.

Parameters​

command​

WorkflowCommand

enabled?​

CommandGate

Returns​

boolean