Hey,
I am getting TranscationID :Index was outside the bounds of the array in assignment 1.
Could you please help me to resolve this issue.
If condition is : in_TransactionNumber<=dt_WorkItems.Count
Assign TranscationID is:
out_TransactionItem =dt_WorkItems(in_TransactionNumber-1)
Assign TranscationID field1 is:
out_TransactionID = out_TransactionItem(“WIID”).ToString
Argument in_TransactionNumber is default value is 1
1 Like
HareeshMR
(Hareesh Madasi)
December 23, 2019, 4:39am
2
I think you are getting error at
transactionItem.SpecificContent(“WIID”).tostring, try this @raginipoman
Hello ,
I am trying to use out_TransactionItem.SpecificContent(“WIID”).tostring as you suggested but it gives compile error
I can’t see specificContent property for out_transcationItem
I am getting error at Assign TransactionID: Index was outside the bounds of the array.
error at Assign TranscationID activity
Navyavara
(Navya Gangavaram)
December 23, 2019, 4:58am
5
Hi @raginipoman ,
out_TransactionItem =dt_WorkItems(in_TransactionNumber) Try you can like that.
all WI5 status has been changed successfully after final WI5 Item change , it is giving this error.
Navyavara
(Navya Gangavaram)
December 23, 2019, 6:07am
7
Try this is in the if condition
If condition is : in_TransactionNumber<dt_WorkItems.Count
Dusan92
(Dusan Milic)
February 14, 2020, 2:28pm
8
Hi @raginipoman you have to change the if condition. Put -1 after Count, and in_Transaction Number is initialized with 0.
in_Transaction Number <= _WorkItems.Count-1
Best regards
6 Likes
Thanks.This Solved my issue though.
Hey i tried this contition and still got the same issue, what could be happening?
@Dusan92 Thanks! This is the correct solution!
1 Like
loginerror
(Maciej Kuźmicz)
September 8, 2020, 1:27pm
12
Thanks, I marked it as such.
1 Like
system
(system)
Closed
September 11, 2020, 1:28pm
13
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.