Specific Data getting lost when coming back

Hi,
I have two forms. First form where I input data and 2nd form to review same data in non editable form. When coming back to first form by clicking on back button the filled data is missing from few specific fields i.e. the field type is identity and the fields which have some predefined values.

Filled data is coming in others fields which are of type string but not others. Do I have to follow some different approach if I want to get different type of data.

Adding the workflow code for the fields I am facing the issue.

  <Variable editable="true" name="Field_Secondary_Owner_SSO"/>
  <Variable editable="true" name="Field_Additional_Owners"/>
  <Variable editable="true" name="accountType"/>
  
  <Step icon="Start" name="Start" posX="28" posY="10">
    <Transition to="Display Form"/>
  </Step>
  <Step icon="Approval" name="Display Form" posX="98" posY="10">
    <Approval mode="serial" name="Display Form" owner="ref:launcher" return="Field_Secondary_Owner_SSO,Field_Additional_Owners,accountType" send="Field_Secondary_Owner_SSO,Field_Additional_Owners,accountType">
      <Arg name="workItemForm" value="Create NPA Account Form"/>
    </Approval>
    <Description>
      Display the NPA Account form .
    </Description>
    <Transition to="Review Form"/>
  </Step>
  <Step icon="Approval" name="Review Form" posX="224" posY="10">
    <Approval mode="serial" name="Review Form" owner="ref:launcher"  return="Field_Secondary_Owner_SSO,Field_Additional_Owners,accountType" send="Field_Secondary_Owner_SSO,Field_Additional_Owners,accountType">
      <Arg name="workItemForm" value="Create NPA Account Review Form"/>
    </Approval>
    <Description>Review the NPA Account form.</Description>
    <Transition to="Display Form" when="!approved"/>
  </Step>
  <Transition to="Stop"/>
  </Step>
  <Step icon="Stop" name="Stop" posX="342" posY="10"/>

Change the Review Form Approval as below and check.

  <Step icon="Approval" name="Review Form" posX="224" posY="10">
    <Approval mode="serial" owner="ref:launcher" return="Field_Secondary_Owner_SSO,Field_Additional_Owners,accountType" send="Field_Secondary_Owner_SSO,Field_Additional_Owners,accountType">
      <Arg name="workItemForm" value="Create NPA Account Review Form"/>
    </Approval>
1 Like

Hi @Arun-Kumar
Sorry I actually did some mistake while copying the code and missed one line there. I have corrected the actual code in my question, now can you suggest any change?