Profile Picture of the author

Access Controls (Queues)

on 09-30-2024 12:00 AM by SnapApp by BlueVector AI

698

License: Professional, Corporate, Enterprise

Header Image

Table of Contents

Queues

queues

What is a Queue?

Queues are a core access-control and workload-management feature in SnapApp. They help distribute records or tasks efficiently among users while maintaining clear ownership, visibility, and control.

A Queue is a logical container that groups users (Queue Members) and records or entities (Queue Objects) to enable automated and controlled access of data.

What are Queue Objects?

Queue Objects are the records or entities that are routed through a queue.

Each queue object:

  • Represents a specific object in the database (for example, tasks, projects etc).

  • Determines what kind of records are assigned through the queue.

  • Uses an assignment strategy such as Assign to Queue, Round Robin or workload-based distribution.

What are Queue Members?

Queue Members are users who are part of a queue and are eligible to access records from the Queue Objects.

Each queue member:

  • Represents an individual user.

  • Can be marked as active or inactive within the queue.

  • Participates in assignment logic (for example, Round Robin distribution).

Create a Queue

To create a queue:

  1. Open Settings from the User menu.
  2. Select User from the Access Control dropdown menu.
  3. Click +Add New in the top header of the Queues list view to add a new Queue → Save Create-Queue
    Click on the **Save** button
    ![Save-Queue](https://storage.googleapis.com/snapapp/images/Access%20Controls/Queues/save-queue.png)
    

Configure a Queue

Add Members to a Queue

  1. From the **Queues list view, select the name of the Queue you wish to configure.
  2. Select +Add New Queue Member from the Queue Members table. Add-Queue-Member

  3. Configure the Member settings:

Setting Description
User Select the user to assign to the queue. It is a ref field to the users object which fetches dynamic user records from the object. If not present, add a user by clicking +Add New Item in the dropdown.
Active Checkbox to signify the member’s status in the queue.
Round Robin Checkbox for the queue type. Default is Round Robin, signifying a first-in-first-out assignment.
  1. Click on Save button to save your configurations. Save-Queue-Member

Add Objects to a Queue

  1. From the Queues list view, select the name of the Queue you wish to configure.
  2. Select +Add New Queue Object from the Queue Objects table. Add-Queue-Object
  3. Configure the Object settings:
Setting Description
Object Select the object to assign to the queue. It is a ref field to the objects which lists down all the objects in the database. If not present, create an object by clicking +Add New Item in the dropdown.
Active Checkbox to signify the object’s status in the queue.
Assignment Type Dropdown for the queue type. Round Robin signifies a first-in-first-out assignment. Assign to Queue signifies that any record added to the object will be automatically have the owner_type as queue and owner_id as the queue_id.
  1. Click on the Save button to save your configurations. Save-Queue-Object
Assign to Queue – Implementation Details

Before a queue is applied, records created for the cases_demos object are assigned directly to the creating user. In this state:

  • owner_type is set to User
  • owner_id is set to the user_id of the record creator

This behavior represents the default ownership model, where records are owned and managed individually. Before-Assign-To-Queue

Once the cases_demos object is added to a queue (for example, the Test queue), the ownership model changes automatically for newly created records. From this point onward:

  • owner_type is set to Queue
  • owner_id is set to the corresponding Queue ID (in this case, Test)

This ensures that all new records are owned by the queue rather than an individual user, enabling centralized assignment and controlled workload distribution based on the queue’s configuration. After-Assign-To-Queue

View the Queue Configuration

To view the queue configuration:

  1. Open Settings from the User menu.
  2. Select Queues from the Access Control menu.
  3. Select the queue in the list that you want to view.
  4. Click the queue name or ID to be taken to the detail view. View-Queue

Delete a Queue

To delete a Queue:

  1. Open Settings from the User menu.
  2. Select Queues from the Access Control menu.
  3. Search for the Queue in the list that you want to delete → Delete Delete-Queue-1
    Click on **Continue with Deletion** to finally delete the queue
    ![Delete-Queue-2](https://storage.googleapis.com/snapapp/images/Access%20Controls/Queues/delete%20queue%202.png)
    

Note: The Delete button is visible only if you have Delete permissions in one of the permission sets assigned to your user role. Different queue members can have different levels of access to an individual record even after being members in the same queue. This is because of the Role ID and Data Access Role ID of individual users which have different sets of permissions.


Thank you for following these steps to effectively manage your SnapApp access control (Object access) settings. If you have any questions or need further assistance, please reach out to our support team. We’re here to help you get the most out of your SnapApp experience.

For support, email us at snapapp@bluevector.ai


Generate Text