# Retry scope capturing element text attribute

**URL:** <https://forum.uipath.com/t/retry-scope-capturing-element-text-attribute/366052>\
**Category:** Studio\
**Tags:** activities-panel, question, studio, system, uiautomation, activities\
**Created:** [December 1, 2021, 2:32am UTC](https://forum.uipath.com/t/retry-scope-capturing-element-text-attribute/366052 "2021-12-01T02:32:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![lynnsong986](https://avatars.discourse-cdn.com/v4/letter/l/8baadc/32.png) [@lynnsong986](https://forum.uipath.com/u/lynnsong986)\
**Post date:** [December 1, 2021, 2:32am UTC](https://forum.uipath.com/t/retry-scope-capturing-element-text-attribute/366052/1 "2021-12-01T02:32:07Z")

</div>

Hello, I’m automating accounting month end journal uploading in JDE. Occasionally we have very large entries that have 6000+ rows to be uploaded. Our JDE can only take about 800 rows each time otherwise it will freeze. I’m using copy/paste uploading the data, and I need to figure out what activities to use to identify when the pasting is done after copying 800 rows over in JDE (it could take a few minutes each time when pasting that many rows) and move to the next 800 rows… The first screenshot shows the window before pasting and the 2nd the window after pasting. I use UI explorer to check the attributes of the red highlighted UI element, and I found there is a “Text” attribute which doesn’t exist when nothing was pasted but its value became what gets pasted after (in this case 31.111100). Can someone please suggest the activity flows I should be using here?

 ![Capture](https://global.discourse-cdn.com/uipath/original/4X/5/1/6/5163dd4ca199f958894821b27884bbba78f69094.png)  
 ![Capture1](https://global.discourse-cdn.com/uipath/original/4X/9/6/7/96706083713ec101bbdbd77a5d63cbb215d969c3.png)

---

<div class="post-metadata">

**Author:** ![kirankumar.mahanthi1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/kirankumar.mahanthi1/32/322620_2.png) [@kirankumar.mahanthi1](https://forum.uipath.com/u/kirankumar.mahanthi1)\
**Post date:** [December 1, 2021, 5:28am UTC](https://forum.uipath.com/t/retry-scope-capturing-element-text-attribute/366052/2 "2021-12-01T05:28:49Z")

</div>

Hi,

Jd Edwards have some limitations on the number of rows we are entering in the screens. But It will change for each and every in organisation here in our case it is holding up to 2000 rows at a time.

My suggestion is instead of checking in UI whether we have reached limit or not anyway we already knew that it can hold max 800 rows. Can we split our total excel data into multiple datatables with 800 rows each so that we can loop and upload the information to jde so that we would not get any issue.

Please refer the below thread for your reference on splitting the Excel into multiple datatables. Thanks.

> [@Split Datatable into 4 different tables](https://forum.uipath.com/t/split-datatable-into-4-different-tables/284608/5):
>
> Hi @thomasb82 Try adopting the following steps: Read the Excel file to a data table. for each row the data table check if your row number ( counter ) is \> than datatable.rows.count/2. If yes, put the res on 2. new datatable. else put it in 2nd data table. Similary inherit if else for addition split of data. Save both the datatable in 2 ore more difference Excels files

---

<div class="post-metadata">

**Author:** ![lynnsong986](https://avatars.discourse-cdn.com/v4/letter/l/8baadc/32.png) [@lynnsong986](https://forum.uipath.com/u/lynnsong986)\
**Post date:** [December 1, 2021, 2:19pm UTC](https://forum.uipath.com/t/retry-scope-capturing-element-text-attribute/366052/3 "2021-12-01T14:19:18Z")

</div>

@kirankumar.mahanthi1 thanks again for your help. I already figured out that piece and that’s exactly what I’m doing. I’m splitting the data into separate chunks and copy paste 800 rows as the bot loops through each data set. But when I paste into JDE, I need some advice as to how to identify when the pasting is done each time after the bot performs ctrl v pasting each dataset (800 rows). I’m thinking of doing a retry scope to test if an element appears after pasting but couldn’t find one, then I was thinking maybe using an attribute instead. after each pasting I need to click on the check mark to complete the uploading, which is the action to be put in the do section of the retry scope. Any suggestion?

---

<div class="post-metadata">

**Author:** ![kirankumar.mahanthi1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/kirankumar.mahanthi1/32/322620_2.png) [@kirankumar.mahanthi1](https://forum.uipath.com/u/kirankumar.mahanthi1)\
**Post date:** [December 1, 2021, 2:28pm UTC](https://forum.uipath.com/t/retry-scope-capturing-element-text-attribute/366052/4 "2021-12-01T14:28:58Z")

</div>

Hi,

Glad to know that you have already placed that logic in your automation.

Before giving suggestion i would like to know couple of things.

1. Which module or application in JDE you are automating.

2. Are you using bulk upload or one by one upload into the JDE screen.

thanks.

---

<div class="post-metadata">

**Author:** ![lynnsong986](https://avatars.discourse-cdn.com/v4/letter/l/8baadc/32.png) [@lynnsong986](https://forum.uipath.com/u/lynnsong986)\
**Post date:** [December 1, 2021, 2:36pm UTC](https://forum.uipath.com/t/retry-scope-capturing-element-text-attribute/366052/5 "2021-12-01T14:36:36Z")

</div>

I’m uploading each JE in a designated folder (all saved in various subfolders by company). JDE 9.2 is the version and Journal Entry is the application, attached is the landing screen (1st) and the screen after clicking on the “+” button. Thanks so much for your help!!  
 ![Screenshot 2021-12-01 09.35.27](https://global.discourse-cdn.com/uipath/original/4X/c/8/4/c84dee29294e7bc9ec40d642f9bda70583c20abb.png)

 ![Screenshot 2021-12-01 09.37.13](https://global.discourse-cdn.com/uipath/original/4X/1/1/0/1109c478c39c72dd6b7f479a6b17e273cee2f5af.png)

---

<div class="post-metadata">

**Author:** ![kirankumar.mahanthi1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/kirankumar.mahanthi1/32/322620_2.png) [@kirankumar.mahanthi1](https://forum.uipath.com/u/kirankumar.mahanthi1)\
**Post date:** [December 1, 2021, 6:15pm UTC](https://forum.uipath.com/t/retry-scope-capturing-element-text-attribute/366052/6 "2021-12-01T18:15:15Z")

</div>

Hi,

After discussing with my team i am sharing my suggestion for the requirement you mentioned in the above.

→ once you have done with your bulk upload(ctrl C + Ctrlv) capture the number from the pagination top of the JDE screen. use if condition to check how many rows you have updated and also click the right side of button to go to the last row and it will provide total number of rows we have populated if it is equal to 800 we are good and we can go for the next batch. try to use this logic to understand your bulk upload is completed with 800 rows or little less. i hope it might help on your requirement. Thanks.

 ![image](https://global.discourse-cdn.com/uipath/original/4X/9/5/4/9544f8aacd9ae9ffce18cf18795d600963a5e3a5.png)

![image](https://global.discourse-cdn.com/uipath/original/4X/5/4/c/54cbb1b9cb2843b2f233f05b7ecba101161f8e16.png)

---

<div class="post-metadata">

**Author:** ![lynnsong986](https://avatars.discourse-cdn.com/v4/letter/l/8baadc/32.png) [@lynnsong986](https://forum.uipath.com/u/lynnsong986)\
**Post date:** [December 1, 2021, 10:47pm UTC](https://forum.uipath.com/t/retry-scope-capturing-element-text-attribute/366052/7 "2021-12-01T22:47:18Z")

</div>

@kirankumar.mahanthi1 thank you so much for your time, it sounds like a great idea, very much appreciated!!

---

<div class="post-metadata">

**Author:** ![kirankumar.mahanthi1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/kirankumar.mahanthi1/32/322620_2.png) [@kirankumar.mahanthi1](https://forum.uipath.com/u/kirankumar.mahanthi1)\
**Post date:** [December 2, 2021, 12:51am UTC](https://forum.uipath.com/t/retry-scope-capturing-element-text-attribute/366052/8 "2021-12-02T00:51:19Z")

</div>

Your most welcome.

---

<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:** [December 5, 2021, 12:51am UTC](https://forum.uipath.com/t/retry-scope-capturing-element-text-attribute/366052/9 "2021-12-05T00:51:39Z")

</div>

Closed on December 5, 2021, 12:51am UTC

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