[REFramework] Initialization sequence workflow

Hi UiPath Dev & all you guys,
I have an question for Initialization sequence workflow.


As you see, the REFramework has First Run sequence workflow. In this sequence, it invoked Kill Process sequence workflow.
I was thinking why did you set Kill Process only one time?
Because when the Process Transaction got issue and it invoked Initialization to run again. The bot will run (open) another application (process) - that mean we will have 2 applications run at same time (expect one software).
So, if the workflow fails many time, we will have applications are opening.
What do you think about it?
In my opinion, I will put the Kill process out of First run and place it after If activity.
Thanks.

@Tri_Vu

When process.xaml fails…it first goes to settransactionstatus.xaml where in the system exception sequence you have a close all applications and kill applications as well invoked…and after that initallsetting is executed again…

So apparently you dont need the kill processes in init as it is already invoke in settransactionstatus.xaml , so it stays in first run if activity

Hope this helps

Cheers

Thanks, I see. I faced this issue because I deleted Get Transaction Data.
Do you have any recommend if I only run one time?
Because I only run one time so I don’t need Get Transaction Data flow.

@Tri_Vu

the kill process is present in set trrnassaction status,xaml …did you delete that as well?

Also we needed not delete…rather we can make it linear by changing the get transacitond ata a little

  1. remove the get transaction item activity
  2. Change transactionitem to string from queueitem
  3. Add if condition with in_TransactionNumber = 1
  4. On then use out_transactionitem = "Run" and on else side assign with Nothing

this should ensure that the process is linear

cheers

1 Like

Yes, I deleted whole Get Transaction Data.
Well noted with thanks your recommend.
I will adjust my workflow.

1 Like

@Tri_Vu

To reiterate…get transaction will not have set…set is a separate one

Cheers

1 Like

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