End flow in RE if it is success or failure scenario is met before the end of the workflow

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.

@Bhushan_Nagaonkar

Could you please explain a little more…as for the explanation looks like that is what already hppens in ref…so what change is needed?

Cheers

1 Like

For eg in my REF flow. I have three scenarios.

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.

Hope I was able to explain properly.

@Bhushan_Nagaonkar

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

Cheers

1 Like

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?

@Bhushan_Nagaonkar

Yes…either if or flow decision both should work

Cheers

1 Like

Thankyou for your help. I got it.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.