CustomEvent.fireAll event equivalent in Agent Workspace

Jacques G
Tera Expert

I am working on implementing an openframe integration and encountered an error when I tried triggering a CustomEvent on the agent workspace UI action. The code will basically be used to trigger an action on the openframe window based on the parameters supplied by the UI action. This works as expected on the native platform UI but had an error when the same code is used on the agent workspace. Is there any workaround to allow the use CustomEvent.fireAll in the workspace or is there an equivalent code for this in workspace that can be used? 

 

JacquesGapatan_0-1679644945173.png

 

Below is the error message being encountered on the console.

 

JacquesGapatan_1-1679645004908.png

 

Thanks in advance for any leads.

1 ACCEPTED SOLUTION

Hi @Jagadeesh5 ,

We have decided to move out of the legacy workspace (Agent Desktop) and into the Configurable workspace due to limitations in customization. The code I have in my screenshot works on the configurable workspace without any issues.

 

I would advise using or moving to the Configurable Workspace instead of doing this on the Agent Desktop as this was also the direction given by ServiceNow support due to upcoming decommissioning.

View solution in original post

3 REPLIES 3

Jagadeesh5
Tera Contributor

Hi @Jacques G ,

          Were you able to achieve this? I have a similar requirement.

Regards,

jagadeesh

Hi @Jagadeesh5 ,

We have decided to move out of the legacy workspace (Agent Desktop) and into the Configurable workspace due to limitations in customization. The code I have in my screenshot works on the configurable workspace without any issues.

 

I would advise using or moving to the Configurable Workspace instead of doing this on the Agent Desktop as this was also the direction given by ServiceNow support due to upcoming decommissioning.

Hi Jacques,

       Thanks for the confirmation. We are implementing the same in our configurable workspace. Great to know that the event will work in Configurable workspace. Is there a way to mark you respone as solution to this thread? If will be helpful for anyone looking for the same

Regards,

Jagadeesh