We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

subflow variable input access

Alon Grod
Tera Expert

Hi,

Why am I getting this error in my sub flow?

AlonGrod_0-1783942770596.png


Im trying to set variable and access the input using the script but im getting this error:

AlonGrod_1-1783942808509.png


Insufficient access level for operation [write] on Action Design entity [sys_hub_flow : d4d4eca59f0ec710d8a66e081224ab62]

 

3 REPLIES 3

Chaitanya ILCR
Giga Patron

HI @Alon Grod ,

 

Check this out

 

https://www.servicenow.com/community/developer-blog/servicenow-learning-141-flow-error-flow-is-open-...

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

Kieran Anson
Kilo Patron

Hi,

Are you a user with admin? If you go to the subflow properties (top right additional actions menu) what is the 'accessible from' set to? What 'application' (e.g scope) is the flow in?

Ankur Bawiskar
Tera Patron

@Alon Grod 

flow is running with which user?

Your subflow set flow variable script should also dot walk to get sysId as the input type is Reference

fd_data.subflow_inputs.record.sys_id

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader