frojo
06/15/2022, 10:52 AMwith Flow('slack-test',state_handlers=[post_to_slack]) as flow_slack:
ini_message="Some Init Message"
#
post_slack_init(ini_message)
#
count()
We get the initial flow message start (post_to_slack
notifies us in start/end/failure), but we don't get
the "ini_message" until the flow ends. Even more if count
task (wich also carries a state handler) fails we get the fail of the task in first place and then the post_slack_init
(just a post request no state handler on this task) message. Any Clues? Thanks in advance!Anna Geller
06/15/2022, 11:50 AMfrojo
06/15/2022, 11:59 AMupstream_task
dependence on some of the tasks seems to solved the behaviour (we are now having the correct messages order). Thanks again!Anna Geller
06/15/2022, 12:07 PM