Connect Mutiple nodes to one conditional

0 votes
asked Oct 10, 2020 in Question / help by anonymous
Hey,

Is is possible to connect mutiple nodes to the same decision - I have a workflow that calls a number of APIs - if an API call fails it puts the message on a Failure Queue - checks for any more messages then stops if none otherwise processes the next.  If the API call is successful it runs the next API call but if that one fails it puts message on failure queue

This is my plant UML

@startuml
start
:<b>API Call 1</b>;
#LightBlue:if (API Failed) then (true)
#Red:Put Message on\n Failure Queue;
else (false)
endif
:<b>API Call 2</b>;
#LightBlue:if (API Failed) then (true)
#Red:Put Message on\n Failure Queue;
else (false)
endif
:<b>API Call 3</b>;
#LightBlue:if (API Failed) then (true)
#Red:Put Message on\n Failure Queue;
else (false)
endif
:<b>API Call 4</b>;
#LightBlue:if (API Failed) then (true)
#Red:Put Message on\n Failure Queue;
else (false)
endif
stop
@enduml

Is it possible to have this so all the false conditionals go to the same put message on failure queue node

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...