Subflow cant be tested or published

Adam Geil
Kilo Sage

I've created a new subflow that I am unabled to test or publish - these options are grayed out. I'm assuming that I've overlooked a required field, but I cant figure out what that is. 

find_real_file.png

1 ACCEPTED SOLUTION

Hi Ankur,

I think I've found the issue. It appears that subflows require an Action in order to test/publish. My original subflow only included Flow Logic to determine a subflow output. Apparently, you cant use a subflow for only flow logic.

View solution in original post

9 REPLIES 9

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Adam,

1. Please make sure you are in the right application scope OR there is a possible option that it could be due to protection policy.

https://docs.servicenow.com/bundle/orlando-application-development/page/build/applications/concept/c...

 

- Pradeep Sharma

Hi Pradeep,

This subflow is in the Customer Service application and I was in the Customer Service application scope. I also tried recreating this subflow in the Global application while I was in the Global application scope and I get the issue. 

This could be caused by a protection policy, but I'm not sure what protection policy would be applied to a new subflow created in the global scope.

Thanks for the update Adam. Can you try to logout/login OR cache.do and check?

Hey Pradeep,

I think I've found the issue. It appears that subflows require an Action in order to test/publish. My original subflow only included Flow Logic to determine a subflow output. Apparently, you cant use a subflow for only flow logic.