and put some conditions if the any task fails, the...
# ask-community
t
and put some conditions if the any task fails, the process fail ??
j
Hi @Talha - labels, which are used to assign agents, are set a flow run level. So all tasks in a flow run would use the same agent. I'm not sure of your use case but you could possibly use parent flow with a child flow started by startFlowRun task with different labels?
t
Hi,
Thanks for the reply. I am still pretty confused. I am new to the prefect. I need to have run an ETL task. Such that Extract is done by one agent and transform /load is done by another agent . How can I achieve that. How can I run two agents. I know I can do labels with agents. But can you refer to any example. It would help to understand better, Please guide.