Skip to main content

Function: isWorkflowCommandEnabled()

isWorkflowCommandEnabled(command, enabled?): boolean

True when every feature command needs is enabled. With a release level (core, parity) it answers as R1 did: the command type decides, and REQUEST_CANCEL_EXTERNAL_RUN aimed at one of the run's own children is core. A command that needs a flag-gated feature (c.*, for example a SCHEDULE_ACTIVITY of kind user, whose type is core) is refused by every release level, so the default gate fails closed.

Parameters​

command​

WorkflowCommand

enabled?​

CommandGate

Returns​

boolean