Flow Action error(cannot read property "id" from undefined,Detail: Cannot read property "id")

Kri
Tera Guru

I'm getting the flow action error while running and also I can't able to publish the flow

Kri_0-1756986471099.png

 

Kri_1-1756986490741.png



I filled the details for the required field though I get this error. I can't able to debug where it goes wrong. Could someone help?

Kri_2-1756986574690.png



Kri_3-1756986602200.pngKri_4-1756986627368.png



Kri_5-1756986686756.png



Kri_6-1756986748673.png



Kri_7-1756986769963.png



Kri_8-1756986791899.pngKri_9-1756986809348.pngKri_10-1756986827373.png

 




15 REPLIES 15

It works if I remove the first script step and test the action directly from the flow, but when I run the full flow, it shows an error.

 

 

Kri_2-1757483512529.png

 

 

@Ankur Bawiskar 

@Kri 

that confirms what I mentioned earlier.

script step is not required.

AnkurBawiskar_0-1757488910578.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

I removed the Script step1 but while I'm running the action from the full flow I'm getting the same error.

@Ankur Bawiskar 

@Kri 

Did you publish the flow action and use it again in your main flow or subflow?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

yes, I published. getting the below error

Kri_0-1757491109712.png



Kri_1-1757491172197.png