Starting with MX9.6.0 a workflow is associated with two entities: workflow instance and workflow context. Both entities can have attributes. Is there a rule of thumb as to which entity should have what kind of attributes? For example, workflow context contains business related data while workflow instance contains attributes required to operate the workflow… Or maybe workflow instance should have no custom attributes at all?..
Workflow instance should contain the attributes you would need for the process of the workflow (to get the workflow to the next step). All the other stuff should be in workflow context so this context can be used by the user of the workflow and the user can decide based on this data what to do next.