Set transaction item in queue

I have one performer from which i want to pass list of attachments(File paths) to another performer which runs after this. How to do this

@Pooja_K

is it for each item one path or list of paths for one item?

in either cases you can serialize the list and add as string to queue item..

if single path then add the path as one specific content in queue item

cheers

List of paths. I am assiging like this
TransactionItem.SpecificContent(“Attachments”) =
TransactionData(“Attachments”).ToString

@Pooja_K

in the above statement I dont see anythign that is related to list or if it is for one item or multiple

can you please elaborate

cheers

@Pooja_K

You should be create a separate queue for your second performer as I can see both can run independently.

So just add a queue item from your performer 1 with the list of attachments and let the performer consume that queue.

There are two performers and one orchestrator. The orchestrator is responsible for coordinating these two performers based on conditions. From Performer 1, I want to pass a list of file paths to the orchestrator. Then, the orchestrator will create a queue item for Performer 2, and that performer will send an email with the attachments by reading those file paths
This is the requirement.
So In performer one I am passing it to the queue item, which is not happening

@Pooja_K

so as there is queue involvement in performer 2

i believe you are trying to add the list to quue as transaction item

you can add the content to second queue as a string String.Join(",",ListVariable)

cheers

1 Like

I will try this. Thanks!

1 Like