Is it possible to use a built-in condition like esri_map_pane combined with a custom condition? It would be natural to add the id of the esri_map_pane condition as a state within my condition.
<insertCondition id="workflow_pane_created" caption="has the workflow pane model been initialized yet?">
<state id="workflow_pane_enabled" />
You could supply an attribute on the condition itself whether to evaluate them with a boolean and or or logic.
I have a situation where I do not want buttons to be active unless the map is active and initialized. Then I have subsequent buttons I do not want active building on the prior buttons state. Trying to do this without being able to build off of the esri provided states is a bit difficult.