How to get the current "Progress" of a QueueItem?

I update the “Progress” of the current transactionItem at hand according to my needs. Unfortunately, the data vanishes after setting the final status to either failed or success. I wanted to read the Progress directly before setting the status of the transactionItem in order to write it to the output dict but reading “transactionItem.Progress” returns nothing (although I can see the data in the Orchestrator Queue). I appreciate any ideas. :slight_smile:

You can use Get Queue Items and use the filter option in the properties -

  • QueueItemStates - Filters the queue item states. The following options are available:
    • All - The default option.
    • New
    • InProgress
    • Failed
    • Successful
    • Abandoned
    • Retried
    • Deleted

Regards,
Karthik Byggari

Hi,

thx a lot for your answer! That helped a lot. Actually, I’m wondering why

transactionItem.Progress

does not work while using GetQueueItems (and filter for items with status “InProgress”) and then using

queueItemList.First.Progress

does. That does not make any sense to me. Any explanations?

1 Like

I guess you are using a wrong expression. Try the following expression to read the status of transaction item -

transactionItem.Status

Regards,
Karthik Byggari