Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Update workbin in Workitem Flow

    Posted 4 hours ago

    Hi Team,

    I am working on a use case for Work Automation.

    I want to use one worktype and use different workbin after creating workitem depending on customFields.

    Is there any possibility to change the workbin of the workitem using Workitem flow?

    If Yes, please let me know which expression/action to use.

    Regards,

    Riddhi


    #Architect

    ------------------------------
    Riddhi Singh
    .
    ------------------------------


  • 2.  RE: Update workbin in Workitem Flow

    Posted an hour ago

    Hi, Mr. Singh,

    No, a workitem can only be in one workbin at a time.

    According to the Genesys Cloud Work Automation architecture:

    Fundamental Concept

    -Workbin is a container: A workbin is a container/holder for workitems.

    -Workitems always reside in a workbin: Workitems will always be contained in a workbin.

    -Singular relationship: A workitem has a property workbinId (singular), not workbinIds (plural), meaning it can only be associated with one workbin at a time.

    How It Works

    -When you assign a workitem to an agent or a queue:
      The location will be indicated with a tag.
      But the workitem still remains in the original workbin.

    -You can move the workitem to a different workbin, but it can only be in one workbin at a time.

    Solution for Your Use Case
    For your use case where you want to use a worktype and route to different workbins based on customFields:

    -Create a Workitem Flow with a Switch action based on your customFields.

    -Use the Update Workitem action to move the workitem to the appropriate workbin.

    -The workitem will be transferred from one workbin to another, but it will never be in multiple workbins simultaneously.

    Important Restriction: All workbins must be in the same division so that you can move workitems between them.



    ------------------------------
    Lineu Romão
    ------------------------------