Flow Designer Sub-Flow not able to Publish

John Prouty
Kilo Guru

I wrote a simple Sub-Flow utility to convert a record count to a Yes / No Choice field.  I modeled it after other sub-flows that I have successfully created.  This one, however, will not let me publish it and it give no error messages to indicate why the Publish button is disabled.

Here is the "code":

find_real_file.png

find_real_file.png

find_real_file.png

Details:

find_real_file.png

find_real_file.png

2     Else

find_real_file.png

What am I missing?  What did I do wrong?  Why won't Publish become enabled?

1 ACCEPTED SOLUTION

Sangiliraja Pal
Kilo Expert

Hi John,

 

The subflow created is not having any action steps. It has inputs, outputs and flow logic only.  for Subflow to be available for testing and publish it should atleast have one action step.

find_real_file.png

 

It is documented in https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/administer/flow-designer/task/create-subflow.html

 

May be you should write an action step to calculate record count as first step then use flow logic to set the output variables in the flow.

 

Hope this helps

 

Thanks

Sangiliraja.p

View solution in original post

5 REPLIES 5

Maik Skoddow
Tera Patron
Tera Patron

Hi @John Prouty ,

please remove the "else" step and put the "Assign Subflow Output" with "Field Indicator=No" at the end.

Kind regards
Maik

If my answer replied your question please mark appropriate response as correct so that the question will appear as resolved for other users who may have a similar question in the future.