st2 icon indicating copy to clipboard operation
st2 copied to clipboard

Delay policy is not working

Open anujku3x opened this issue 2 years ago • 0 comments

SUMMARY

All action Chains are running together. It should run after the execution of first action-chain is complete.

st2 3.7.0, on Python 3.8.10

Steps to reproduce the problem

we have created a policy to make sure action-chain run one after another

name: action_name.concurrency description: Limits the concurrent executions for action. enabled: true resource_ref: pack.action_name policy_type: action.concurrency parameters: action: delay threshold: 1

Sample policy.yaml

Expected Results

Execution of the new action chain should start only after the previous one is completed

Actual Results

Multiple actions are running at the same time which is affecting our logic which checks the previous output.

Thanks!

anujku3x avatar Aug 03 '23 08:08 anujku3x