Actions approval states and transitions

The following table lists the valid action states in Turbonomic and the Turbonomic Actions application.

TurbonomicAction state Action approval state
PENDING_ACCEPT PENDING_APPROVAL
ACCEPTED APPROVED
REJECTED REJECTED
QUEUED WAITING_FOR_EXEC
RECOMMENDED WAITING_FOR_CR_SCHEDULE
IN_PROGRESS IN_PROGRESS
SUCCEEDED SUCCEEDED
FAILED FAILED
CLEARED MISSED
DISABLED REPLACED

This figure shows the states and their transitions:

ServiceNow Action state and transitions diagram

The initial state of each action approval is PENDING_APPROVAL. From that state, an approval moves to one of the following states:

  • APPROVED

    The CR generated for the action approval is approved (its state is SCHEDULED or IMPLEMENT) and its schedule is on, or no schedule is configured for that change request.

  • WAITING_FOR_CR_SCHEDULE

    The corresponding CR is approved and a future schedule is associated to it.

  • REJECTED

    The CR referred by the action approval is canceled.

  • MISSED
    Turbonomic no longer recommends this action. Turbonomic hasn’t recommended the action for a period longer than [Last_Recommended_Time + Action_Retention_Time], where:
    • Last_Recommended_Time = the last time Turbonomic recommended the action.
    • Action_Retention_Time= the Action Retention setting (1 day by default)
  • REPLACED

    Turbonomic decision engine replaced an action that is waiting for approval in ServiceNow with a new one.

    A new action approval on the PENDING_APPROVAL state is created for the replacement action and is mapped to the change request that is created for the replaced action.

    Note: Modify any custom business rules that are used to manage change requests. Link the replacement action approval to the change request that was created for the replaced action approval. For a custom business rule sample, see Custom business rules.

From the APPROVED state, the action approval can change into one of the following states:

  • WAITING_FOR_CR_SCHEDULE

    The action’s corresponding CR is associated to a schedule and that schedule is off.

  • WAITING_FOR_EXEC

    Turbonomic scheduled the approved action for execution.

  • IN_PROGRESS

    Turbonomic started execution of the action.

  • SUCCEEDED

    Turbonomic successfully executed the approved action.

  • FAILED

    The approved action failed its execution in Turbonomic.

  • MISSED

    Turbonomic no longer recommends this action. Turbonomic hasn’t recommended the action for a period longer than [Last_Recommended_Time + Action_Retention_Time], where:

    • Last_Recommended_Time = the last time Turbonomic recommended the action
    • Action_Retention_Time = the Action Retention setting (1 day by default)

From the WAITING_FOR_CR_SCHEDULE state, an approval can change into one of the following states:

  • APPROVED

    The approval’s corresponding CR is associated to a schedule, it and that schedule is on.

  • MISSED

    Turbonomic no longer recommends this action. Turbonomic hasn’t recommended the action for a period longer than [Last_Recommended_Time + Action_Retention_Time], where:

    • Last_Recommended_Time = the last time Turbonomic recommended the action
    • Action_Retention_Time = the Action Retention setting (1 day by default)

From the WAITING_FOR_EXEC state, an approval can change into one of the following states:

  • IN_PROGRESS

    Turbonomic started executing the action.

  • SUCCEEDED

    Turbonomic successfully ran the approved action.

  • FAILED

    The approved action failed its execution in Turbonomic.

  • MISSED

    Turbonomic no longer recommends this action. Turbonomic hasn’t recommended the action for a period longer than [Last_Recommended_Time + Action_Retention_Time], where:

    • Last_Recommended_Time = the last time Turbonomic recommended the action.
    • Action_Retention_Time = the Action Retention setting (1 day by default)

From the IN_PROGRESS state, an action approval can change to one of the following states:

  • SUCCEEDED

    Turbonomic successfully ran the approved action.

  • FAILED

    The approved action failed its execution in Turbonomic.

Note: For reference, this figure shows the action states and their transitions in Turbonomic:Action states and transitions in Turbonomic diagram