I watched the video and followed it, and I got an error at the end.
After data scrapping , it runs until ACME re-login, and SHA1 does not open and error.
In data tables, arrays etc, the element starts from zero. So the first value goes under 0th position. 2nd in 1st position and so on. So if you are using datatable having the transaction number set to default 0 is fine. However when accessing make sure not do do a -1 in get transaction data when accessing the row. If you do a minus 1 in the first run it will look for an element where position is -1 which does not exist…
Also, you do not need to increment the transaction number in Main as you have done in the screenshot. The transaction number automatically increments after one transaction is successfully completed using the set transaction. Xaml file
Thanks for the answer! I deleted the assign and ran it again, but the result is the same. I don’t know position of ‘Assign: There is no row at position -1.’ could you help me?
In the second screenshot here you have an assign activity to assign dt_workitems row to out transaction item. Can you expand the code you have there so that I can see how you are assigning it
Yep @sandeep13 in the variable panel the default of transaction number should be 1 instead of 0. Then in the assign activity where you assign the row item to out transaction item, it should be as @sandeep13 unmentioned. Also make sure you get data from your unit state to dt work items.