Add Attach UI action agent assist Interaction table

abirakundu23
Mega Sage

Hi All,

I have a requirement add "Attach" UI action agent assist in  Interaction table for Service Operation Workspace.

It will populate the "Linked Knowledge Article" reference field with the selected KB in Interaction table that is Searching .

How can we Build the above requirement ? Any suggestion will be appreciable.


1 REPLY 1

M Iftikhar
Kilo Sage

Hi @abirakundu23 ,
 Here’s a suggested approach:

  • Create a client UI Action on the Interaction table (visible in SOW).

  • In the script, use:

     
    var kbSysId = g_aw.getAgentAssist().getSelectedRecordSysId();

    to fetch the selected Knowledge Article.

  • Call a GlideAjax to a Script Include to update the Linked Knowledge Article field on the Interaction record.

  • The Script Include should validate input, enforce ACLs, and perform the update().

 

šŸ“šFor your convenience, here are useful references that cover similar UI Action customizations within Service Operations Workspace and Interaction table:

Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.