Loading...
Loading...
Compare original and translation side by side
QueueRoutingConfigMostAvailableLeastActiveCapacityWeightCapacityPercentageQueueservice-omni-queue-deployDeveloperNameQueueRoutingConfigMostAvailableLeastActiveCapacityWeightCapacityPercentageQueueservice-omni-queue-deployDeveloperNamebash scripts/upsert-and-report.sh <org-alias> [routing-model] [developer-name] [master-label] [capacity-weight] [routing-priority] [overflow-assignee] [push-timeout]bash scripts/upsert-and-report.sh <org-alias> [routing-model] [developer-name] [master-label] [capacity-weight] [routing-priority] [overflow-assignee] [push-timeout]
- `org-alias` (required).
- `routing-model` (optional, or `ROUTING_MODEL_INPUT`) — `MostAvailable` | `LeastActive`. Omitted: an existing record's model is preserved; a new record is created `MostAvailable`. Provided: written on create, aligned on an existing record.
- `developer-name` / `master-label` / `capacity-weight` (1..100) / `routing-priority` (≥1) — positional after routing-model, or via `QRC_DEVELOPER_NAME` / `QRC_MASTER_LABEL` / `QRC_CAPACITY_WEIGHT` / `QRC_ROUTING_PRIORITY`. Label, weight `5`, and priority `1` are defaults only when creating a new record; omitted values preserve an existing record.
- `QRC_CAPACITY_PERCENTAGE` (optional, 0..100) — use percentage capacity instead of weight. It is mutually exclusive with an explicitly supplied capacity weight; switching modes clears the old sibling field.
- `overflow-assignee` (optional 7th positional, or `QRC_OVERFLOW_ASSIGNEE`) — the fallback User (Username or `005` Id) that receives work when every queue member is unavailable (`OverflowAssigneeId`). Resolved to an **active** User Id before the write; omitted leaves an existing record's overflow untouched and a new record with none.
- `push-timeout` (optional 8th positional, or `QRC_PUSH_TIMEOUT`, 0..3600 seconds) — how long Omni waits for an agent to accept pushed work. Omitted preserves an existing value.
- `QRC_ROUTING_TARGET` (env) — `Case | VoiceCall | Incident | MessagingSession`; selects the canonical naming defaults. `service-omni-channel-setup-coordinate` sets this per target.
- `org-alias`(必填)。
- `routing-model`(可选,或`ROUTING_MODEL_INPUT`)——`MostAvailable` | `LeastActive`。若省略:保留现有记录的模型;创建新记录时使用`MostAvailable`。若提供:创建时写入该值,现有记录则对齐该值。
- `developer-name` / `master-label` / `capacity-weight`(1..100) / `routing-priority`(≥1)——位于routing-model之后的位置参数,或通过`QRC_DEVELOPER_NAME` / `QRC_MASTER_LABEL` / `QRC_CAPACITY_WEIGHT` / `QRC_ROUTING_PRIORITY`传入。仅在创建新记录时使用默认值(标签为目标派生值、权重5、优先级1);省略的参数会保留现有记录的值。
- `QRC_CAPACITY_PERCENTAGE`(可选,0..100)——使用百分比容量而非权重。与显式提供的容量权重互斥;切换模式时会清除旧模式对应的字段。
- `overflow-assignee`(可选第7位位置参数,或`QRC_OVERFLOW_ASSIGNEE`)——当所有队列成员不可用时接收工作的备用User(用户名或`005`格式ID)(对应`OverflowAssigneeId`)。写入前会解析为**活跃**User ID;省略时会保留现有记录的溢出配置,新记录则不设置该值。
- `push-timeout`(可选第8位位置参数,或`QRC_PUSH_TIMEOUT`,0..3600秒)——Omni等待Agent接受推送工作的时长。省略时保留现有值。
- `QRC_ROUTING_TARGET`(环境变量)——`Case | VoiceCall | Incident | MessagingSession`;选择标准命名默认值。`service-omni-channel-setup-coordinate`会根据目标对象设置该变量。sfsfservice-omni-base-settings-configureQueueRoutingConfigINVALID_TYPEsafe_to_writesfsfservice-omni-base-settings-configureQueueRoutingConfigINVALID_TYPEsafe_to_writeupsert-and-report.shQueueRoutingConfig WHERE DeveloperName = '<target-derived-or-explicit>'reusedupsert-and-report.shQueueRoutingConfig WHERE DeveloperName = '<目标派生或显式指定名称>'reusedCase_Routing_ConfigVoice_Routing_ConfigMostAvailable51QueueBasedQueueRoutingConfigoverflow-assigneeOverflowAssigneeIdvalues_source: "requeried"QueueRoutingConfigCase_Routing_ConfigVoice_Routing_ConfigMostAvailableQueueBasedQueueRoutingConfigoverflow-assigneeOverflowAssigneeIdvalues_source: "requeried"QueueRoutingConfigstatuscreatedreusedupdatedblockedrouting_targetdeveloper_nameidmaster_labelrouting_modelrouting_prioritycapacity_modecapacity_weightcapacity_percentageis_attribute_basedpush_timeoutoverflow_assignee_idoverflow_assignee_requestedvalues_sourcebeforemanual_actionsblocking_issuecreatedreusedupdatedblockedoverflow-assigneebefore.existedcapacity_weightrouting_modelidblocking_issueblockedstatuscreatedreusedupdatedblockedrouting_targetdeveloper_nameidmaster_labelrouting_modelrouting_prioritycapacity_modecapacity_weightcapacity_percentageis_attribute_basedpush_timeoutoverflow_assignee_idoverflow_assignee_requestedvalues_sourcebeforemanual_actionsblocking_issuecreatedreusedupdatedblockedoverflow-assigneebefore.existedcapacity_weightrouting_modelidblockedblockedblocking_issueIsAttributeBased=trueMostAvailableLeastActiveservice-omni-service-channel-configureIsAttributeBased=trueMostAvailableLeastActiveservice-omni-service-channel-configure| File | When to read |
|---|---|
| On unexpected errors or when customizing fields — QueueRoutingConfig schema, RoutingModel semantics, and how CapacityWeight interacts with agent capacity |
| When validating changes — run |
| 文件 | 阅读场景 |
|---|---|
| 遇到意外错误或自定义字段时——包含QueueRoutingConfig schema、RoutingModel语义以及CapacityWeight与Agent容量的交互方式 |
| 验证变更时——从本工具目录运行 |