I am working with the queue and trying to set the status as failed whenever the automation fails anywhere in the main.xaml.
Inside of GlobalExceptionHandler, the errorInfo variables have these information -
So I put errorInfo.Variables[“TransactionItem”] inside of Set transaction status activity under TransactionItem input. However, I am getting an error message saying that it cannot convert type object to uipath.core.QueueItem even though errorInfo.Variables[“TransactionItem”].GetType() returns uipath.core.QueueItem
Am I missing something?
Is there a better way to do this by adding more arguments into the global exception handler workflow?