Send related list fields to Action Payload Definition to consume in UI builder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2022 01:18 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2022 07:12 PM
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.
ServiceNow Community Rising Star 2022/2023