Issue adding variable to input flow

moudjibb
Tera Contributor

Hi all,

I am new to ServiceNow and I and struggling with an issue on Zurich edition. I am currently  following this exercise but unable to complete it because the get an error with I try to create an input variable. I get the error message try again. 

To replicate this on Zurich release,

1. Go to   SERVICENOW APPLICATION DEVELOPER - Developing for Flow Designer -  Exercise: Create an Action 

When you try to complete this part . 

"

Add a property_name input variable.

  1. In the Input Variables section, click the Create Variable link."

The error try again shows up.

1 ACCEPTED SOLUTION

PoonkodiS
Giga Sage

ServiceNow flow designer Custom Action | Custom Ac... - ServiceNow Community

 

example :

PoonkodiS_0-1780674667481.png

 

 

https://developer.servicenow.com/dev.do#!/learn/learning-plans/australia/servicenow_application_deve...

If you are following this article,you have to create input and output before entering into the script step.

 

Name:

ip :property_ name

op :property _value

Label:

ip :Property Name

op :Property Value

 

View solution in original post

5 REPLIES 5

PoonkodiS
Giga Sage

@moudjibb 

When you click it inside the script step without creating the main action input first, Flow Designer gets confused and throws that "try again" error.

You are clicking the Create Variable link inside the Script Step box, but you must create it at the top of the action first.

Do this:

  1. Click Inputs at the very top of the left-hand column.

  2. Click + Create Input in the center of the screen, name it property_name,(follow the exercise) and click Save (top right).

  3. Click your Script step in the left column to go back.

  4. Click Create Variable inside the script box. It will now work without the error.

PoonkodiS
Giga Sage

ServiceNow flow designer Custom Action | Custom Ac... - ServiceNow Community

 

example :

PoonkodiS_0-1780674667481.png

 

 

https://developer.servicenow.com/dev.do#!/learn/learning-plans/australia/servicenow_application_deve...

If you are following this article,you have to create input and output before entering into the script step.

 

Name:

ip :property_ name

op :property _value

Label:

ip :Property Name

op :Property Value

 

Thank you PoonKodiS,

The issue was the browser, I changed from Safari to Chrome,  it worked