Hi All
Can you help me to fix this following error pic. I have passed arguments for TransactionQueueItem variable to “SetTransactionStatus” workflow in RE-Framework . Bot has passed the condition for " If JobQueueTransactionItem isNot Nothing AndAlso (JobQueueTransactionItem.GetType is GetType(Uipath.Core.QueueItem)) and I tried to print the Name for JobQueue in writeline " “SetTransaction status : " +JobQueueTransactionItem.SpecificContent(“PracticeCode”).ToString”, its given correct name. I couldn’t find the root cause of the error. can anybody help me to resolve the error.
@divya.paul Please make sure variable “JobQueueTransactionItem” is not null. This error usually happens if the variable holds a null value or if the variable is not initialised properly.
Yes i check the condition for if JobQueueTransactionItem isNot Nothing AndAlso (JobQueueTransactionItem.GetType is GetType(Uipath.Core.QueueItem)) and its pass this true then i got Object reference error…
Ah I had this after an update. In the proces transaction it ‘loses’ the item in Finally. I fixed it by moving the invoke the Set transaction status around