In my RE workflow. There are situations where certain status is met before completion of the process. So If the scenario is positive and negative, it should either go to Close Application or move on next transaction is that possible.
In Get Queue Item I should get the scenario as Successful/Failed depending on the scenario that is met.
first : “Export in Process”
second : “Exported” this is expected in later part of the flow.
third : “Failed”
If status is “Export in Process” is achieved flow will go normally. (success scenario)
IF “Exported” is achieved already means the first scenario is skipped and then it should to go “close application” or next transaction after completion of flow after Exported. (success scenario)
IF “Failed” then it should to go “close application” or next transaction. (failed scenario).
Depending on the scenario flow should choose to end and log message as Success or Failed in Get Queue Items.
Then in process use a conditional flow first with check the start if is export then continue normal flow…else if exported then start from the steps of exported flow…else it is a failed ao throw exception and as per exception flow it would close all and move to next transaction
I just need to add if conditions add workflows accordingly. Right?. If failed it should log exception and close application/ move on to next transaction. So for that I need to use throw activity right?