> For the complete documentation index, see [llms.txt](https://help.windmillsoft.kr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.windmillsoft.kr/en/simplychat/salesforce-setup-guide/manage-capacity-using-omni-paused-status.md).

# Manage capacity using Omni Paused Status

**Step 1: Add Status Picklist Value**

Add a Status picklist value to the Chat Session and Chat Customer objects.

* Target Objects: Chat Session, Chat Customer&#x20;
* Field: Status&#x20;
* Note: The API names of the values added to both objects must be identical.

<figure><img src="https://174170309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcMCw4RFNzatnGReKcWKb%2Fuploads%2FELiTTR5vl61plBjVPgmN%2Fimage.png?alt=media&amp;token=c14c8ee7-6602-4c38-b61f-a55a41bb9c62" alt=""><figcaption></figcaption></figure>

**Step 2: Open Flow Editor**

Open the Flow Builder for the installed flow : `SC_talkSession status update when owner changed via omni channel`

<figure><img src="https://174170309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcMCw4RFNzatnGReKcWKb%2Fuploads%2FUqduoJqu52Gn8d78Hzy2%2Fimage.png?alt=media&amp;token=33308b7b-a25a-491d-9714-738e22840815" alt=""><figcaption></figcaption></figure>

**Step 3: Add Decision Component**

Add a Decision element under the Is TalkSession Null element.

<figure><img src="https://174170309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcMCw4RFNzatnGReKcWKb%2Fuploads%2FkbeEAa19ilLYRkc2yAub%2Fimage.png?alt=media&amp;token=2ed2bffe-f2e4-4551-8b26-d48e55ba1882" alt=""><figcaption></figcaption></figure>

**Step 4: Configure Decision Component**

<figure><img src="https://174170309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcMCw4RFNzatnGReKcWKb%2Fuploads%2FYNujTtrR7q6cOTjERRWe%2Fimage.png?alt=media&amp;token=5e230ddd-e7c3-431e-9eb9-a1716b8bc6fc" alt=""><figcaption></figcaption></figure>

| Field                 | Value                   |
| --------------------- | ----------------------- |
| Label                 | isStatusPause           |
| API Name              | isStatusPause           |
| Select Decision Logic | Manually Set Conditions |

**Configure the following outcome:**

| Field                                     | Value                        |
| ----------------------------------------- | ---------------------------- |
| Outcome Label                             | isNotPause                   |
| Outcome API Name                          | isNotPause                   |
| Condition Requirements to Execute Outcome | All Conditions Are Met (AND) |

**Condition Details:**

| Field    | Value                                           |
| -------- | ----------------------------------------------- |
| Resource | {!Get\_TalkSession\_Record.WINP\_\_Status\_\_c} |
| Operator | Does Not Equal                                  |
| Value    | Select the Status value added in Step 1.        |

**When to Execute Outcome:**&#x20;

If the condition requirements are met

<figure><img src="https://174170309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcMCw4RFNzatnGReKcWKb%2Fuploads%2F8x8Qw4SA3OZP4LoE6n4N%2Fimage.png?alt=media&amp;token=e48f4f25-5f25-422e-8541-6d539e8d11bc" alt=""><figcaption></figcaption></figure>

**Step 5: Omni-Channel Settings**

Path: Setup → Omni-Channel → Service Channels → Select SimplyChat

<figure><img src="https://174170309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcMCw4RFNzatnGReKcWKb%2Fuploads%2FKDXp2ssqbuKakZ1ZdC86%2Fimage.png?alt=media&amp;token=799f1dd6-eae8-44ee-8dd3-5b9c75e69a14" alt=""><figcaption></figcaption></figure>

Add the newly created Status value to Values for Paused.

<figure><img src="https://174170309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcMCw4RFNzatnGReKcWKb%2Fuploads%2FQ6KITOkJq5j638UJzKN2%2Fimage.png?alt=media&amp;token=35d745a0-0b26-4696-86bd-5855a77ececc" alt=""><figcaption></figcaption></figure>

**Usage Example**

* During an active chat session, change the session's Status to a value included in Values for Paused to temporarily free up capacity.

<figure><img src="https://174170309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcMCw4RFNzatnGReKcWKb%2Fuploads%2FUBQ94SiuBYmrzj5kxXm5%2Fimage.png?alt=media&amp;token=8ae2cefe-94a6-4f1e-ae02-79e881c4b1b7" alt=""><figcaption></figcaption></figure>

* You can verify the available capacity in the Omni-Channel widget and Omni Supervisor.

<div><figure><img src="https://174170309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcMCw4RFNzatnGReKcWKb%2Fuploads%2FGjUm4pktxUWiVvhq7ttg%2Fimage.png?alt=media&amp;token=7953a543-21dc-4fc7-b4c8-d122169f2428" alt=""><figcaption></figcaption></figure> <figure><img src="https://174170309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcMCw4RFNzatnGReKcWKb%2Fuploads%2F41HaLCyk2p3JtKttJWz0%2Fimage.png?alt=media&amp;token=1141fce2-094c-47e1-ae19-90a3f7dc972d" alt=""><figcaption></figcaption></figure></div>

* Based on the available capacity, you can receive additional sessions or change the Status back to Chatting to resume the chat.

<div><figure><img src="https://174170309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcMCw4RFNzatnGReKcWKb%2Fuploads%2FYSnEV7MKCzQbQqbSKJLi%2Fimage.png?alt=media&amp;token=4be68da9-82ec-40ff-b277-c359b5cc0891" alt=""><figcaption></figcaption></figure> <figure><img src="https://174170309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcMCw4RFNzatnGReKcWKb%2Fuploads%2FYI9ugFvNjg3hQbaVwYKc%2Fimage.png?alt=media&amp;token=f03a8b4b-8133-4082-a426-941b9d9127ed" alt=""><figcaption></figcaption></figure></div>
