# \[REFramework\] Initialization sequence workflow

**URL:** <https://forum.uipath.com/t/reframework-initialization-sequence-workflow/580691>\
**Category:** Studio\
**Tags:** template, feedback, studio\
**Created:** [September 8, 2023, 3:07am UTC](https://forum.uipath.com/t/reframework-initialization-sequence-workflow/580691 "2023-09-08T03:07:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tri\_Vu](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/tri_vu/32/380721_2.png) [@Tri\_Vu](https://forum.uipath.com/u/Tri_Vu)\
**Post date:** [September 8, 2023, 3:07am UTC](https://forum.uipath.com/t/reframework-initialization-sequence-workflow/580691/1 "2023-09-08T03:07:00Z")

</div>

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

 ![image](https://global.discourse-cdn.com/uipath/original/4X/5/4/7/547865bd844d931eb653663b7bff486ac75d593d.png)  
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.

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [September 8, 2023, 4:12am UTC](https://forum.uipath.com/t/reframework-initialization-sequence-workflow/580691/2 "2023-09-08T04:12:01Z")

</div>

@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

---

<div class="post-metadata">

**Author:** ![Tri\_Vu](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/tri_vu/32/380721_2.png) [@Tri\_Vu](https://forum.uipath.com/u/Tri_Vu)\
**Post date:** [September 8, 2023, 4:54am UTC](https://forum.uipath.com/t/reframework-initialization-sequence-workflow/580691/3 "2023-09-08T04:54:57Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [September 8, 2023, 5:02am UTC](https://forum.uipath.com/t/reframework-initialization-sequence-workflow/580691/4 "2023-09-08T05:02:46Z")

</div>

@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

---

<div class="post-metadata">

**Author:** ![Tri\_Vu](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/tri_vu/32/380721_2.png) [@Tri\_Vu](https://forum.uipath.com/u/Tri_Vu)\
**Post date:** [September 8, 2023, 8:55am UTC](https://forum.uipath.com/t/reframework-initialization-sequence-workflow/580691/5 "2023-09-08T08:55:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [September 8, 2023, 9:24am UTC](https://forum.uipath.com/t/reframework-initialization-sequence-workflow/580691/6 "2023-09-08T09:24:19Z")

</div>

@Tri_Vu

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

Cheers

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [September 11, 2023, 9:24am UTC](https://forum.uipath.com/t/reframework-initialization-sequence-workflow/580691/7 "2023-09-11T09:24:51Z")

</div>

Closed on September 11, 2023, 9:24am UTC

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