Background information
For more information on queues, check the following pages:
Note:
If you want to send a date-time object, datatables, objects, or arrays to a queue, make sure that you bind it to a
string
type field. You can also bind a complex object to a queue input using thestring
type field.
Overview
Before starting this example, make sure that you have the proper permissions from Orchestrator.
Add simple items to queue
In this example we will add two items to a queue.
Procedure
- Open your already existing application or start a new one.
- Click the Add any
icon from the top of the canvas and select Queue.

- Add the following input controls to your app:
- Two textbox controls
- One button
-
Configure the controls as follows:
4.1. For the first textbox, add astring
item from the referenced queue in the Value binding field.4.2. For the second textbox, add an
integer
item from the referenced queue in the Value binding field.4.3. For the button, add an Add to Queue rule and add the queue you want to use in the What queue to use property.
-
Save the app and preview it.
-
Add the word Test in the first textbox, and 321 in the second textbox. Click the button.
Note:
If the data passed in the queue does not follow the schema, Orchestrator will reject the queue item addition. In this situation an error message is displayed in Apps.
For example, this error can occur when astring
value is sent in aninteger
type field.
Procedure result
Note: If there is no error message, the procedure worked. You can check the queue in Orchestrator. Go under transactions for the used queue and check the latest transaction.

Add an expression and a date to queue
In this example we will add several items to a queue:
- Text using a textbox
- A date using the date picker control
- Text using an expression in the Input Override property of the Add to Queue rule.
Procedure
- Open your already existing application or start a new one.
- Click the Add any
icon from the top of the canvas and select Queue.

- Add the following input controls to your app:
- One textbox control
- One date picker control
- One button
-
Configure the controls as follows:
4.1. For the textbox, add astring
item from the referenced queue in the Value binding field.4.2. For the date picker, add an
integer
item from the referenced queue in the Value binding field.
Note: If you want to send a date, object, or array to the queue, make sure that you bind it to astring
type field.4.3. For the button, add an Add to Queue rule and add the queue you want to use in the What queue to use property.
4.4. In the Input Override property of the Add to Queue** rule, add a
string
item in the first field and an expression in the second field. For example, you can add=List(1, 2, 3)
. -
Save the app and preview it.
-
Add the word Test in the textbox and select a date from the date picker. Click the button.
Note:
If the data passed in the queue does not follow the schema, Orchestrator will reject the queue item addition. In this situation an error message is displayed in Apps.
For example, this error can occur when astring
value is sent in aninteger
type field.
Procedure result
Note: If there is no error message, the procedure worked.
You can check the queue in Orchestrator. Go under transactions for the used queue and check the latest transaction.

Updated 4 months ago