Script step's input variable value turning to "{{undefined}}" in Paris Flow Designer

Hitoshi Ozawa
Giga Sage
Giga Sage

Just want to make sure if this is happening just in my instance or if it's also happening in other instances too.

In my Paris instance, Script step's input variable value is turning to "{{undefined}}". This doesn't happen in my other instances in different versions.

Steps to reproduce.

  1. Create an Action
  2. Create an Action Input
  3. Add A Script step
  4. Create Input Variable to Script
  5. Drag Action's input variable to the Value
  6. Check that value is OK
    find_real_file.png
  7. Click other part of the page
  8. Value changes to "{{undefined}}"
    find_real_file.png

 

 

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Hozawa,

I have followed the above steps in my PDI instance and I am able to reproduce this issue. The only change is that the input value is set to blank and not undefined once I save the form. I will test this again in a zbooted instance and let you know

 

- Pradeep Sharma

View solution in original post

27 REPLIES 27

Agree.

Hitoshi Ozawa
Giga Sage
Giga Sage

Spoke too soon. Found that this doesn't work in the instance that's been upgraded also. Getting error when the Action is executed.

Flow Designer is Paris is totally unusable for me because of this bug.

Cristiano2
Giga Guru

I`m facing the same issue in an upgrade to Paris instance.

The actions that were upgraded are working fine, as long as I don`t touch the value field.

If I do, it turns into {{undefined}} as well.

When I ran it, I got undefined error and when I opened it up, it was converted to undefined. If you aren't having problems with upgraded actions, I may have touched it somewhere. Most of my flows use script steps so I'm having problems with most of my flows.

I hope ServiceNow will get it fixed before the official release planned this month. I'm just amazed that they haven't detected it sooner.

rich12
Kilo Contributor

Glad I found this post as I am running into the same problem.  I'm brand new to ServiceNow and am going though the Developing for Flow Designer module in the training.  Whenever I am instructed to drag an Input data pill to the value field of an Input variable, it appears to work.  However, as soon as I hit Save, it changes to "{{undefined}}". 

I am on a Paris PDI.  The one other thing I noticed that is different for me vs. what is shown in the module is that my Action page doesn't have "Required Runtime" field at the top, like they show in the instructions.  I have no idea if that somehow impacts this.

Anyhow, glad to learn it isn't just me that has run into this.