We want to show DomBehaviorDefinition status of a DomInstance in Table and in Form.
How to assign DomBehaviorDefinition status to a component?
Hi Harald,
When using a status system in DOM, your DOM instance will have a 'State' property containing the state it is currently in, you will find it among the other fields when creating the query for your Table in your LCA.
The status won't be shown directly in the Form, but what you can do is add a Stepper component just above or below your Form, this can display the 'flow' of statuses and display the status your selected DOM instance is currently in. You can see an example of this in the Stepper component tutorial in the docs.
Please let me know if you have any further questions or if anything is unclear!

Hi Harald, is this error showing in the stepper component? Could you maybe reproduce it while having the developer tools console open (F12), and share the content here, it might help me find where the error is thrown.
Hi Wouter,
now it works. I've deleted and added two times data, DomDefinition and table selected rows, on Stepper component, reloaded LCA and it's ok.
Don't know what was wrong before.
Hi Wouter, now State is in table, that's ok.
But the Stepper component throws an error:
can't access property "ID", s[(s.length – 1)] is undefined
But "ID" (the DomInstance GUID) is a column of table selected row