Add to Payload Map in Action Assignment Dynamik Query

Alina Ravilova
Tera Contributor

Hi everyone,

I need to add sys_id to Pyload Map in Action Assignment. (ex. u_parent=Parent sys_id)

this is recognized by ServiceNow as a string, I cannot add a dynamic sys_id. Maybe someone knows how to change this.

Thanksfind_real_file.png

8 REPLIES 8

This wasn't really what I needed to do. And what I did won't really help you. But I think this video can help you as it explains how the payload works 
https://www.youtube.com/watch?v=OzUPW2h_PSo

Let me know if this helps

Steps for creating a UXF Client Action, Related List Declarative Action that uses the multi record associator component in Service Operations Workspace or any Configurable Workspace. This is duplicating the Add affected ci's functionality. Ashley Snyder's article: ...

Aly
Tera Contributor

To summerize, what I wanted was to alter the function of the Add button on GRC when adding risks or controls. This mechanism works when the parent table of the related list is the Entity table (irrelevant for your question but just for context). I wanted to do the same thing on another custom table. The Risks and Controls won't be added because the field 'Entity' needs to be filled with the table Entity.

To resolve this I did some customization on UI Builder to set the Parent table and Parent Sys id to the Entity (which is referenced on my custom table).
So the system thinks that the parent of the related list is Entity but in reality it's not.

I just wanted to explain what I did. Not really related to your request

Hi Anuneeti,

 

Did you get the solution for this? I have the exact similar use case.

 

Thanks

Mohamed Jassim
Tera Contributor

Hi Alina Ravilvo,
Did you get any solutions on how to add the value dynamically?!