Send related list fields to Action Payload Definition to consume in UI builder

Prasun2
ServiceNow Employee
ServiceNow Employee

Hello Everyone,
Is there a way to send fields from related list of a form to a UI builder page using action payload definition. 
In the screenshot below, I want to send order line characteristic as an input field to my UI builder page which I can read using api.context.props.fieldName. 
How do I reference multiple tables in the payload?
Any help is much appreciated


1 REPLY 1

JagjeetSingh
Kilo Sage
Kilo Sage

You can't but here is how you can achieve what you are trying to do.

 

- Send your record SysID instead as parameter to your page.

- On you UI builder page you can write a transform data source or a scriptlet data source to go and query your data from related list table based on the record sysid you have.

 

 

 

Jagjeet Singh
ServiceNow Community Rising Star 2022/2023