Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Work Automation Scripting

    Posted 10-20-2025 15:30

    Hi Folks,
    Is there any other way to use Script in Work Automations tasks, without using Page onload DA to update local variables (colors, logo, etc.) ? (once using Architect block is not working yet)


    #Scripts

    ------------------------------
    Claudio Barbosa
    Brazil
    ------------------------------


  • 2.  RE: Work Automation Scripting

    Posted 30 days ago

    Hi Claudio, 

    Not sure if your question is related to the Scripts for Work Automation article, could you confirm?

    From what I've tested, even using triggers, since a Workitem only generates a workitem.id and not a conversationId, Architect blocks can't handle variable input/output. The CEWI-116 idea aims to allow a Script as the main Workitem UI, which would likely solve this limitation, but if anyone has found another approach, it would be great to hear.



    ------------------------------
    Luiz Rosa
    Full stack developer
    ------------------------------



  • 3.  RE: Work Automation Scripting

    Posted 29 days ago

    HI Luiz, 
    Actually, I was talking about using SCRIPT created via UI, which may include a variable for instance to change some COLOR, like this:

    Then, we in setup a THIS SCRIPT in Workitem:
    It does not have any form to include variables, So I am using a DA in onLoad to serach the variables I Want (in this case from a Data Table):
    Then, When Work Item is sent to Agent the OnLoad updates the SCRIPT 
    But, thanks for the LINK,

    Best Regards,


    ------------------------------
    Claudio Barbosa
    SC
    ------------------------------