Hi Team, i have created flow action under script step and values are coming undefined can you please

AA6
Tera Contributor

Hi Team, i have created flow action under script step and values are coming undefined can you please check on this ?

 

 

AA6_0-1752652894332.png

 

AA6_1-1752653065597.png

 

 

9 REPLIES 9

Ehab Pilloor
Mega Sage

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

AA6
Tera Contributor

test is an input field which is reference in to sys_user table.

@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

 

 

Pranesh072
Mega Sage
Mega Sage

In line 4, use requested_for.sys_id. Value is not a valid field.