I already added data to the queue, and I want to add this data (document below) into queue should I put it in the intistate or get transaction item state? as an ivoke workflow
name.xaml (15.3 KB)
I already added data to the queue, and I want to add this data (document below) into queue should I put it in the intistate or get transaction item state? as an ivoke workflow
name.xaml (15.3 KB)
Hi @bakrious12
You can add in either places.
In init state - add it inside the if condition for first run
If in get transaction data… then add a if condition to check in_transactionnumber=1 then inside on true side add the xaml
Cheers
System exception at initialization: Object reference not set to an instance of an object. at Source: UiPath.System.Activities maybe error in arguments?
Hi @bakrious12
Did you include it before initializing the settings??
Include it in the same if condition but at the end of the sequence please
Cheers
Yes reframwork in the if function as u said
Hi @bakrious12
You have to place it inside initialization
In this condition place it at the end
cheers
Hi @bakrious12
So is it placing repeated items? because ideally that if condition will be executed only once that is the first time. Is that what you want or you want to control when to add and not add items?
In the screenshot before this I saw you used a for loop so the bulk add is getting executed multiple times with the same dt for each row, that is the issue for multiple additions
cheers
The invoke workflow is being repeated I want it to run only once, if it’s separate from the reframwork it does it once so idk what seems the problem
Hi @bakrious12
Can you share the files here?
If you did not add any loop then it should run only once…when you say repeat, whenever the bot comes to initialization is it running again? Or is it running multiple times for the first time only?
Cheers
Hi @bakrious12
Put the data into the excel file that you want to add into queue , then read the excel file and add that data into queue.
Reading data from excel file will be init state and get data from the Excel file will be in get transaction state.
nevermind it worked thanks alot
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.