/
Allowed operations in ACM

Allowed operations in ACM







AutomationCompositionDefinition

AutomationComposition



Description



Action

state

stateChangeResult

deployState

lockState

stateChangeResult

CRUD Automation Composition Definition

Create

-

-

-

-

-

Create new AC Definition

Update

COMMISSIONED

-

-

-

-

Update the AC Definition

Delete

COMMISSIONED

-

-

-

-

Delete the AC Definition

Change status of Automation Composition Definition





Prime



COMMISSIONED

-

-

-

-

Start Priming transition

PRIMING
FAILED

-

-

-

Start Priming transition after PRIMING is failed

PRIMING
TIMEOUT

-

-

-

Start Priming transition after PRIMING got timeout

DEPRIMING
FAILED

-

-

-

Start Priming transition after DEPRIMING is failed

DEPRIMING
TIMEOUT

-

-

-

Start Priming transition after DEPRIMING got timeout





Deprime

PRIMED
NO_ERROR

No instances connected to this AC Definition

Start Depriming the AC Definition

DEPRIMING
FAILED

-

-

-

Start Depriming after DEPRIMING is failed

DEPRIMING
TIMEOUT

-

-

-

Start Depriming after DEPRIMING got timeout

PRIMING
FAILED

-

-

-

Start Depriming after PRIMING is failed

PRIMING
TIMEOUT

-

-

-

Start Depriming after PRIMING got timeout

CRUD Automation Composition Instance

Create

PRIMED
NO_ERROR

-

-

-

Create a new AC instance





Update

PRIMED
NO_ERROR
UNDEPLOYED
-

-

Update the AC Instance

PRIMED
NO_ERROR
DEPLOYED
LOCKED

-

Update the AC Instance and send update to participants

PRIMED
NO_ERROR
UPDATING
LOCKED
FAILED

Start Updating transition and send update to participants after UPDATING is failed

PRIMED
NO_ERROR
UPDATING
LOCKED
TIMEOUT

Start Updating transition and send update to participants after UPDATING got timeout

Migrate

PRIMED
NO_ERROR
DEPLOYED
LOCKED

-

Start Migrating transition and send migrate to participants



Delete

PRIMED
NO_ERROR
UNDEPLOYED
-

-

Start Deleting transition and send delete to participants

PRIMED
NO_ERROR
DELETING
NONE
FAILED

Start Deleting transition and send delete to participants after DELETING is failed

PRIMED
NO_ERROR
DELETING
NONE
TIMEOUT

Start Deleting transition and send delete to participants after DELETING got timeout

Change status of Automation Composition Instance





Deploy

PRIMED
NO_ERROR
UNDEPLOYED
-

-

Start Deploying transition and send deploy to participants

PRIMED
NO_ERROR
DEPLOYING
NONE
FAILED

Start Deploying transition and send deploy to participants after DEPLOYING is failed

PRIMED
NO_ERROR
DEPLOYING
NONE
TIMEOUT

Start Deploying transition and send deploy to participants after DEPLOYING got timeout

PRIMED
NO_ERROR
UNDEPLOYING
NONE
FAILED

Start Deploying transition and send deploy to participants after UNDEPLOYING is failed

PRIMED
NO_ERROR
UNDEPLOYING
NONE
TIMEOUT

Start Deploying transition and send deploy to participants after UNDEPLOYING got timeout









Undeploy

PRIMED
NO_ERROR
DEPLOYED
LOCKED

-

Start Undeploying transition and send undeploy to participants

PRIMED
NO_ERROR
DEPLOYING
NONE
FAILED

Start Undeploying transition and send undeploy to participants after DEPLOYING is failed

PRIMED
NO_ERROR
DEPLOYING
NONE
TIMEOUT

Start Undeploying transition and send undeploy to participants after DEPLOYING got timeout

PRIMED
NO_ERROR
UNDEPLOYING
NONE
FAILED

Start Undeploying transition and send undeploy to participants after UNDEPLOYING is failed

PRIMED
NO_ERROR
UNDEPLOYING
NONE
TIMEOUT

Start Undeploying transition and send undeploy to participants after UNDEPLOYING got timeout

PRIMED
NO_ERROR
UPDATING
LOCKED
FAILED

Start Undeploying transition and send update to participants after UPDATING is failed

PRIMED
NO_ERROR
UPDATING
LOCKED
TIMEOUT

Start Undeploying transition and send update to participants after UPDATING got timeout

PRIMED
NO_ERROR
MIGRATING
LOCKED
FAILED

Start Undeploying transition and send update to participants after MIGRATING is failed

PRIMED
NO_ERROR
MIGRATING
LOCKED
TIMEOUT

Start Undeploying transition and send update to participants after MIGRATING got timeout





Lock

PRIMED
NO_ERROR
DEPLOYED
UNLOCKED

-

Start Locking transition and send lock to participants

PRIMED
NO_ERROR
DEPLOYED
UNLOCKING
FAILED

Start Locking transition and send lock to participants after UNLOCKING is failed

PRIMED
NO_ERROR
DEPLOYED
UNLOCKING
TIMEOUT

Start Locking transition and send lock to participants after UNLOCKING got timeout

PRIMED
NO_ERROR
DEPLOYED
LOCKING
FAILED

Start Locking transition and send lock to participants after LOCKING is failed

PRIMED
NO_ERROR
DEPLOYED
LOCKING
TIMEOUT

Start Locking transition and send lock to participants after LOCKING got timeout





Unlock

PRIMED
NO_ERROR
DEPLOYED
LOCKED

-

Start Unlocking transition and send unlock to participants

PRIMED
NO_ERROR
DEPLOYED
UNLOCKING
FAILED

Start Unlocking transition and send unlock to participants after UNLOCKING is failed

PRIMED
NO_ERROR
DEPLOYED
UNLOCKING
TIMEOUT

Start Unlocking transition and send unlock to participants after UNLOCKING got timeout

PRIMED
NO_ERROR
DEPLOYED
LOCKING
FAILED

Start Unlocking transition and send unlock to participants after LOCKING is failed

PRIMED
NO_ERROR
DEPLOYED
LOCKING
TIMEOUT

Start Unlocking transition and send unlock to participants after LOCKING got timeout





Related content

ACM state table
ACM state table
More like this
Allowed operations in participant
Allowed operations in participant
More like this
ACM startPhase flow
ACM startPhase flow
More like this
Add state support in fail scenario
Add state support in fail scenario
More like this
ACM States
ACM States
More like this
Make a configurable timeout
Make a configurable timeout
More like this