- Getting Started
- Before You Begin
- How To
- Designing your App
- Events and Rules
- Rule: If-Then-Else
- Rule: Open a Page
- Rule: Open URL
- Rule: Close Pop-Over/Bottom Sheet
- Rule: Show Message
- Rule: Show/Hide Spinner
- Rule: Set Values
- Rule: Start Process
- Rule: Upload File to Storage Bucket
- Rule: Get File From Storage Bucket
- Rule: Create/Update Entity Record
- Rule: Delete Entity Record
- Rule: Add to Queue
- Function: And, Or, Not
- Function: Concat
- Function: Contains
- Function: Count
- Function: EndsWith
- Function: If
- Function: IsBlank
- Function: Length
- Function: List
- Function: StartsWith
- Function: Sum
- Function: Sort
- Function: Now
- Function: Today
- Function: Time
- Function: Year
- Function: Month
- Function: Day
- Function: Hour
- Function: Minute
- Leveraging RPA in your App
- Leveraging Entities in Your App
- Leveraging Queues in Your App
- Referencing a Queue in Your App
- Replacing a Queue
- Using Apps With Queues
- Application Lifecycle Management (ALM)
- Basic Troubleshooting Guide
Referencing a Queue in Your App
To create better, more complex apps, UiPath Apps can connect and interact with queues from UiPath Orchestrator.
Once a queue has been created in Orchestrator, you can reference that queue from an app.
For more information on queues, check the Queues section from the Orchestrator guide.
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://example.com/root.json",
"type": "object",
"title": "The Root Schema",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"isPermanent": {
"type": "boolean"
},
"age": {
"type": "number"
},
"department": {
"type": "string",
"enum": ["Sales", "Marketing", "HR"]
}
}
}
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://example.com/root.json",
"type": "object",
"title": "The Root Schema",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"isPermanent": {
"type": "boolean"
},
"age": {
"type": "number"
},
"department": {
"type": "string",
"enum": ["Sales", "Marketing", "HR"]
}
}
}
In the example below, we'll show you how to reference an existing entity into an app.
- From an existing app in App Studio, click on the icon next to the app title.
-
Click on Queue to open the queue reference dialog.
-
A list of Orchestrator instances for the current Automation Cloud account is shown. Choose the one that hosts the queues you need and click Next. You can also connect to a standalone on-prem tenant, chosse Use other orchestrator tenant. After choosing your tenant, click Next.
- A list of queues, organized by folders, is shown for the currently selected tenant. Highlighting a queue displays its contents.
-
Check the checkbox next to the queue you want to use in your app and click Add.
Note: Only queues containing a Specific Data JSON Schema file in Orchestrator are supported by Apps.
The queue has now been added to your app.
If there are any changes made to a queue schema, follow the steps bellow to update it in Apps.
-
Once a queue is referenced, select it from the Queues menu in Apps.
- Select the queue from the list.
-
Click on the Refresh icon.
In the example below we will bound a queue to a textbox control.
Before binding a queue to a control in App Studio, make sure that the queue is referenced in your app.
string
type field. You can also bind a complex object to a queue input using the string
type field.