Issue adding variable to input flow

moudjibb
Giga 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

Tanushree Maiti
Tera Patron

Hi @moudjibb 

 

Check this video/article/blog and try in your instance

 

https://developer.servicenow.com/blog.do?p=/post/creating-your-first-action/

https://www.youtube.com/watch?v=HQZCUQQd0ro

ServiceNow flow designer Custom Action | Custom Action demo in ServiceNow | ServiceNow Flow Designer

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
If you want to support me then buy me a coffee- https://www.buymeacoffee.com/saaswnow This is ServiceNow Flow Designer Training. ServiceNow has been marketing themselves as low code platform and in one of the recent release they came up with flow designer feature which has totally changed the way

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