Error:Function setDisplayValue is not allowed in scope x_〇〇〇〇〇〇~

Koki
Tera Contributor

I am trying to use setDisplayValue within FlowDesigner.

 

When I do so, I get the following error.
Error:Function setDisplayValue is not allowed in scope x_0000000000~.

Is there any way to deal with this?

 

 

By the way, what I want to do is to set the value of a string field to a reference type field during the Create Record action in the flow.

2 REPLIES 2

Kalyani21
Giga Guru

Hello Koki,

Please refer following links and check if it works for you..

https://community.servicenow.com/community?id=community_question&sys_id=506acd89dbda049023f4a345ca9619d8

https://community.servicenow.com/community?id=community_question&sys_id=878451571bc15810ada243f6fe4bcb85

 

Please mark the answer correct or helpful..

 

Thanks & Regards,

Kalyani Shaha