An issue with Script Variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi all,
I am new to ServiceNow and I am struggling with an issue on Zurich edition. I am currently following this exercise (Developing for Flow Designer) but unable to complete it because I get an error when 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.
- In the Input Variables section, click the Create Variable link."
The error try again shows up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
ahoy @moudjibb,
it's not so clear what you are trying to achieve, could you possibly add a screenshot or two?
Where the rules are real, you'll find me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @moudjibb
Input variables can only be passed to Subflows and Actions. Standard Flows cannot receive inputs directly.
Create a Subflow that encapsulates the required Actions, and then invoke the Subflow through a single call from your script. This approach centralizes the logic within Flow Designer, improves maintainability, and reduces the amount of scripting required.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti