action does not be deleted when workflow execution is delete
Bug #1685583 reported by
yong sheng gong
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Invalid
|
Undecided
|
Unassigned |
Bug Description
problem:
in https:/
I am trying to implement a long-live action:
def run(self):
while True:
status = self._ping()
if self.current_status != status:
to stop the action, I expected it will be deleted by deleting the workflow execution.
But, when I delete the workflow execution, the action is still running.
expectation:
the action is stopped.
To post a comment you must log in.
You should add the iteration within the workflow. For example....
---
version: 2.0
ping_forever:
tasks:
ping:
action: my_action.ping
on-complete: ping