Add stateLabelCode and stateLabelCodes to workflowState

Hello devs,

I get an error while working on HTML-689

If I add stateIds="0,6,8" to workflowstate.xml within the htmlform tag I get an error saying

workflow with id 100 does not have state id 0

Here is my Pull Request cc @dkayiwa @ruhanga @ball

1 Like

Hi @odorajonathan, you probably wana take a closer look at the <WorkflowState> tag documentation and relate this to the activity going on within the tests in WorkflowStateTagTest.java.

You might also want to look around WorkflowStateTag.java, WorkflowStateTagHandler.java and WorkflowStateSubmissionElement.java + other WorkflowState*.java classes just to grab more context on what the tag does under the hood. This will broaden the way towards fixing HTML-689.