A more efficient/reusuable way to update queue item output data?

Hi all, I’ve been wondering if there is a way to programmatically update the Output Collection of Queue Item? The idea of having to hard code each field I want to update seems inefficient to me.

I’ve been keeping all the fields and values to update in a dictionary. It’d be nice if I can update that Output Data dictionary of the queue item with a that dictionary. Hope someone has found a solution before. Thanks so much!!!

After a few experimentations, I settle on this alternative. We can serialize the dictionary that hold all the key/value pairs into a string and create a single key in the Output collection to store it. All in set transaction status.

The result on the queue item is a serialized string like this:

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