Error in getting output dictionary from Queue item

Hi Guys,
I want to fetch output dictionary value from Queue item.
For reference, attaching screenshot.
I tried this in for each loop - currentQueueItem.Output(“Step”).ToString
but getting error as key does not present in dictionary.


Hi @shashank

Can you please share how does the transaction item in Queue look like. Share the flow if possible.

Regards

image

Hi @shashank

Try this syntax:

currentQueueItem.SpecificContent("Step").ToString

Hope it helps!!

Not working, I tried this combination. Attaching screenshot below :-

Hi @shashank

Can you share the image of transaction item from orchestrator?

Regards

image

Hi @shashank

May I know the reason of the double quotes you are getting. How were the queues added. Because of the double quote it’s throwing an error.

Regards

@shashank,

Try like this:

currentQueueItem.SpecificContent("""Step""").ToString

Thanks,
Ashok :slight_smile:

Still getting error as key not present currentQueueItem.SpecificContent(“”“Step”“”).ToString

Here I’m trying to get the output dictionary value from Queue item.

i tried this but not working :-
currentQueueItem.Output(“Step”).ToString

@shashank,

Ahh…sorry. you are looking for Output.

tried this?
currentQueueItem.Output("""Step""").ToString

Thanks buddy,
it’s Working… :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.