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]

 

4 REPLIES 4

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

Tanushree Maiti
Tera Patron

Hi @Alon Grod 

 

  • Ensure your flow is running by System user instead of user who initiated session
  • Ensure you   have selected correct scope only

Refer: KB0858735 Flow Action: Not able to create new action in an application as admin user when choosing "... 

 

 

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