State output stays there on Class Process Nodes even when disabled

Hey there,

Just saw that on 7.3-13 and on 7.2. If you have a Class process node with its state output enabled, disabling it will leave the state output in place on already-created nodes. Repro :

  • Create a new Class definition, name it MyClass
  • In its definition, enable both Process node and State output
  • Create an instance of the MyClass process node: it has the state output
  • Go inside the definition, disable the state output, go back to your application : the state output is still there
  • Create another MyClass process node next to the previous one: it won’t have the state output

Paste the following in an empty Application patch to get the same setup

Click me
<?xml version="1.0" encoding="utf-16"?>
<Canvas xmlns:p="property" xmlns:r="reflection" Id="Lc1EcADzMScMRvMtJrkZV5" MergeId="4" CanvasType="Group">
  <!--

    ************************ MyClass ************************

-->
  <Node Name="MyClass" Bounds="842,450" Id="O70Bx0foyvuPiJHxsIvXnV">
    <p:NodeReference>
      <Choice Kind="ClassDefinition" />
    </p:NodeReference>
    <Patch Id="PQI1VAz5sGBO6cwTd3opiE">
      <Canvas Id="ItJ6OFnG3aFNTgeCypmCI1" CanvasType="Group" />
      <Patch Id="Imwn8fHVouaORpxHIvlpBk" Name="Create" />
      <!--

    ************************  ************************

-->
      <ProcessDefinition Id="P87l0FI6EwBOLBHMxRrfzf">
        <Fragment Id="D7ywygWpjlqNSiFziOkAgM" Patch="Imwn8fHVouaORpxHIvlpBk" Enabled="true" />
      </ProcessDefinition>
    </Patch>
  </Node>
  <Node Bounds="814,490,53,19" Id="CS4PJlsWkCSMpRZYvFFGIW">
    <p:NodeReference LastCategoryFullName="Main" LastDependency="callmenames-2026-06-23.vl">
      <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
      <Choice Kind="ProcessAppFlag" Name="MyClass" />
    </p:NodeReference>
    <Pin Id="VCJoTht1ukILvos3F5nb6p" Name="Output" Kind="StateOutputPin" />
    <Pin Id="V4tbpSf1dEOQTd0EwfDaFz" Name="Node Context" Kind="InputPin" IsHidden="true" />
  </Node>
  <Node Bounds="892,490,53,19" Id="BdiTYtiemv7LogNecesF7V">
    <p:NodeReference LastCategoryFullName="Main" LastDependency="callmenames-2026-06-23.vl">
      <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
      <Choice Kind="ProcessAppFlag" Name="MyClass" />
    </p:NodeReference>
    <Pin Id="EpnCLiKCKEWMeT2j9olJ1Y" Name="Node Context" Kind="InputPin" IsHidden="true" />
    <Pin Id="RQ8Be2YB1ToOOuR52UIPoi" Name="Output" Kind="OutputPin" IsHidden="true" />
  </Node>
</Canvas>

Thanks in advance!

I stumbled upon this a while ago, but this is a feature that has been around for a while already. On the outside of the process node instance you can toggle the state output in the configure menu, just for that one instance - it overrides, I think, whatever has been set on the Class definition:

A-ha, I just learned something then :-)

Thanks @readme