Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Queue commands

Miroslav Spousta edited this page Feb 1, 2019 · 5 revisions

Create

Will create a queue in a workspace. ? If there is only one workspace, then workspace is optional.

elisctl queue create NAME [--inbox-prefix=PREFIX] [--schema-content-file=FILE]
1, inbox-prefix-unique#@elis.rossum.ai

Without --inbox-prefix a queue without inbox is created. Without --schema-content-file a queue with empty/default schema is created.

ADVANCED:

  • --worksapce-id, -w: workspace ID in which the queue should be created
  • --user-id, -u: user ID, which should be associated with this queue (multiple ids allowed).
  • --all-users: include all users of organization.

List

Shows table of queues in organization.

elisctl queue list

| id | name              | workspace | users | inbox
|----|-------------------|-----------|-------|--------------------------
| 1  | Received invoices | 1         | 1, 2  | some-####@elis.rossum.ai
| 2  | Test              | 1         |       | 

ADVANCED:

  • --group-by: e.g. workspace
  • filter: e.g. --workspace-id, --user-id, --inbox-prefix

Delete

Deletes whole queue with all annotations.

elisctl queue ID delete --yes

Change

ADVANCED

elisctl queue change ID
  • --name, -n
  • --workspace-id, -w: move the queue to a workspace ID
  • --user-id, -u: user ID, which should be associated with this queue (multiple ids allowed). Original queues not preserved. ? Can be a sentinel all to include all users of organization.
  • --inbox-prefix, -i, ? if has the same prefix as any queue of the organization, then instead of creating new unique inbox address the other is used.
  • --schema-content-file, -s
Clone this wiki locally