A beginner has a problem in a real project and asks for a solution. #1749
Replies: 2 comments
-
I want to be able to execute the Workflow task first, and then set an events in the workflow to trigger the subsequent task flow. |
Beta Was this translation helpful? Give feedback.
-
Sorry for a delayed response. Can you clarify what you mean? You should be able to have a single set of Steps in a Workflow without needing Argo Events in between them. Argo Events would typically be used to start up a new Workflow (set of steps), but you could also watch for the termination of your Workflow with Argo Events to start up a new Workflow. To do that, you could either use a Resource Type Event Source that watches for the completion of your Workflow, something like this:
or you could add an extra step in the first workflow to send a message to a queue or pub/sub), and use argo events to watch this event. |
Beta Was this translation helpful? Give feedback.
-
My workflow:
start——>Task1——>Task2——>Task3——>end
My application scenario:
After Workflow Task1 is executed, wait for Events to trigger task2. After Task2 is executed, you do not need to trigger task3.
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions