Add Queue Item - dynamic default values

Hi
Is it possible to configure queue-specific default values for the “Add Queue Item” activity?

For example:
We have a process that only sends a text message via an API. This process requires two things: Phonenumber and SMSBody.
Whenever we want to send an SMS, we add a queue item to this process, and we have to remember to add these two values.
It would be preferable if there was an option to set these values as mandatory when selecting this specific queue.

Workaround: To get around this issue, we’re using the “Add Queue Item” in a library activity, where we have the default in-arguments in_Phonenumber and in_SMSBody. This works, but it’s an extra step that seems unnecessary.

Hey @Larss

I think you can actually add a schema to your queue in Orchestrator to achieve that.

If I’m not wrong, the add queue item activity will then automatically pre fill the required properties from your specific content schema the moment you select your queue.

Feel free to reference the Orchestrator queue management documentation to get to the details if needed :slight_smile:

Edit. In fact, in the latest versions of Studio and System activity package, the corresponding Get Transaction Item activity has an extra output property when used with a queue that has a schema attached to it, which will generate an object with the corresponding properties of your specific content for ease of use.

I had no idea about the JSON schema - that worked perfectly. Thank you!

1 Like

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