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
Mega 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

Anil Lande
Kilo Patron

Please check below links to give cross scope assess if you see such errors:

https://docs.servicenow.com/bundle/paris-application-development/page/build/applications/task/set-RC...

https://community.servicenow.com/community?id=community_question&sys_id=3629cbe1db5cdbc01dcaf3231f96...

 

Thanks,

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande