I want to create an array Name = “RUCHITA PATIL”
And then remove the duplicate values and list only the unique values in REFRAMEWORK without queue
Can somebody please guide me on this? Thanks!!
1 Like
Hey @Ruchita_Patil
- You can create an array
arrStr = { "aaa", "BBB", "aaa", "ccc" }
- Finding unique values
arrStr = arrStr.Distinct().ToArray
This will provide you the array after removing the duplicate values.
You can now use the above array in ReFramework to process the transactions.
-
Remove the
GetTransaction Item
activity in theGetTransaction workflow
-
Change the
IF
condition in theGetTransaction workflow
asin_TransactionNumber = arrStr.Length
-
If the above condition is true :
out_TransactionItem = arrStr(in_TransactionNumber)
-
If the above condition is false :
out_TransactionItem = Nothing
Kindly make sure you change the datatype for TransactionItem to string & also commenting to Set Transaction Status
actions in the Set Transaction Status Workflow
Hope this helps
Thanks
#nK
1 Like