Hi there,
i have created the variable as Files which is string in Get queue and bringing in argument in_TransactionItem.SpecificContent(“Files").ToString and the errors where
Object is not set
Hi there,
i have created the variable as Files which is string in Get queue and bringing in argument in_TransactionItem.SpecificContent(“Files").ToString and the errors where
Object is not set
In the value you have given wrong double quotes, change those.
in_TransactionItem.SpecificContent("Files")
Hope it helps!!
Hi
If the “Files” field is not set or empty in the queue item, attempting to access it will result in the “Object is not set” error.
Check and verify that you have the “Files” variable in your queue item before trying to access it
Try to use like this
If in_TransactionItem.SpecificContent.ContainsKey(“Files”)
Then
Files = in_TransactionItem.SpecificContent(“Files”).ToString
Else
LogMessage(“The ‘Files’ field is not set in the queue item.”)
End If
Hi @mark_rajkumar1 ,
Could you also let us know how is the Add Queue Item
activity configured ? Was an Argument called Files
was provided ?
You could also Debug and check what are the keys involved in the Queue Item by using the below Expression in immediate Panel :
in_TransactionItem.SpecificContent
For Debugging check the below :
in such case, we do debug and trace the flow with the help of debugging panels:
Understanding the 6 Debugging Panels of UiPath in the easiest way possible! - News / Tutorials - UiPath Community Forum
So we have the chance to analyse and check:
in_TransactionItem.SpecificContent("Files")
exists and what is returnedand so on
As per error looks like the Transactionitem is empty.please check if it is passed in properly
cheers
Hi all,
Will try the above methods. Jus to add on, the queue have data where there are 5 files waiting to process.
I realised the queue values are not set correctly
So is this the reason @mark_rajkumar1
@Palaniyappan yes correct
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.