Success workflow trigger

Hello.

What is the best way to trigger something when a workflow has status > success?

For example in case of a workflow error there is a setting to choose the Error workflow and then add an Error Trigger to that Error workflow and do something.

Is there something similar for Success situation?

Thank you.

Hey @Mulen,

Best I can think of would be to make a workflow that you call at the end of your existing workflows using the execute workflow node.

It isn’t a trigger based action but it will do the same thing.

I was thinking something like that but the case is that i have a Split Batch node and loops some things.

I know there is an option {{$node[“SplitInBatches”].context[“noItemsLeft”]}} and then execute the success workflow BUT the IF node with {{$node[“SplitInBatches”].context[“noItemsLeft”]}} will pass true after the last item iterated BUT NOT after the workflow succeded.

So the hypothetical success workflow trigger will get triggered while the last data from Split Batches node is still being executed.