Hi Team, i have created flow action under script step and values are coming undefined can you please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 01:05 AM
Hi Team, i have created flow action under script step and values are coming undefined can you please check on this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 01:09 AM
Hi @AA6,
This doesnt have much context.
What is inputs.test? Are you passing it as parameter in flow?
value is not a defined functionality. you can use getDisplayValue() instead.
Regards,
Ehab Pilloor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 01:12 AM
test is an input field which is reference in to sys_user table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 01:17 AM - edited 07-16-2025 01:20 AM
@AA6,
Test wont be able to dotwalk to requested_for field
You can directly refer RITM record, dotwalk to requested_for and get the value inside it. Pass RITM record as input parameter to your custom action.
Input should be RITM datapill, and script should take that as input and dotwalk to requested_for field
Logic should be
var ritm = inputs.requested_item;
var reqUser = ritm.requested_for.getDisplayValue();
Regards,
Ehab Pilloor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 01:09 AM
In line 4, use requested_for.sys_id. Value is not a valid field.