Hey, I'm trying to converge several flow paths as seen in the added picture (to be exact - I'm trying to link test_tt and Update_start_Process to Temp_To_FINAL).
Linking while dragging an arrow doesn't work... Is there any way to do this?
Also, I need this to be done in a way that all separate flows (Test_Dates_1, test_tt, Update_Start_Process) finish (either successfully or unsuccessfully, doesn't matter), and only then the converged path to be executed.
Note: I have the option "Continue running the flow and change the flow state after the flow is complete" under the attribute "Actions after the state of the flow is determined". I can't change this option because of other constraints in my flow
Hi @Eitan123 ,
in the SMC UI inside of the flow editor there should be button for an and logic object. Then you connect the paths in the manner you would like into it and only if all of the completed successfully it will trigger the next thing after the and object.
When you connect objects it should prompt you for the condition on which you want the following step to be executed.
Hope this helps - Cheers
David
Hi @Eitan123 ,
in the SMC UI inside of the flow editor there should be button for an and logic object. Then you connect the paths in the manner you would like into it and only if all of the completed successfully it will trigger the next thing after the and object.
When you connect objects it should prompt you for the condition on which you want the following step to be executed.
Hope this helps - Cheers
David
@DavidHD
I've found the logic object (called Gate). It has either an AND logic or OR logic.
After several checks - Sadly, AND means, as you've mentioned, that all of the converging paths must be completed successfully in order to continue.
OR means any can be completed successfully in order to continue.
Is there any way to cause the Gate to wait for all converged paths to finish (either with errors or successfully), and then continue?
Keep in mind "Continue running the flow and change the flow state after the flow is complete" is already on.
The AND object is that all the conditions coming into it are met. The job event coming into it can be "completed successfully" or "ends with any exit code" (among others). Are you selecting "Ends with any exit code"?
I wasn't aware of this option. Problem solved, thank you!! 🙂
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.