I have a macro with an optional input, and I want to disable a container in my workflow if it has not been connected. My initial thought was to simply add a count records tool to the macro input, and if the result is 0 I want it to disable the container. I have however not found any way of doing it. The only way I've found so far is using an interface tool like a checkbox to disable the container, but I want to avoid this if possible.
Is there some way to connect a count records tool to an action tool and then update the container value through a formula, or is there some other easier way to do it?
Thanks!