Get Transaction Status of current Transactionitem

Hi Community

How can I get the transaction status of the current TransactionItem from the queue?

I need to assign it to a variable.

Thank you

2 Likes

Hi @ChrisPals,

  • Use GetTransactionItem activity
    image

  • Assign Queue Name and Output
    image

  • TransactionItem.Status (TransactionItem is a output variable) will give you the current Item’s Status - Returns as QueueItemStatus
    image

  • TransactionStatus.ToString will give you the status as String
    image

Here is the example QueueStatusVariable.xaml (4.5 KB)

Hope you got the answer! :slightly_smiling_face:
Cheers @ChrisPals

5 Likes

@kuppu_samy In your example the status will be always InProgress. GetTransactionItem returns an item that had the status New but, before, it will set it as InProgress

1 Like

Yes @badita,

But if you process the reprocessed transaction item, the things might change, right?