Best way to add data to Queue

Hi All,

The query is, we are adding data in Queue and we are using only one workflow. So where do I add this “AddQueueItem” . Can I add into the Init state? And get data from queue in process state?

Thanks in advance,
Hemal

@hemal,

You can add it in the Init state and no need to get the item if you are using RE Framework for Queue Items. It will be done by the framework in Get Transaction Item.

The usual workflow goes like this -

You have to add it in the Process State.

In your scenario -

Add it in the init state (the process has to run only once)
In Get Transaction state, get the queue item
In process state, process the retrieved queue item

Regards,
Karthik Byggari

Regards,
Karthik Byggari

1 Like