I am facing a problem in writing values to multiple data store. What I am trying

I am facing a problem in writing values to multiple data store. What I am trying to do is :
1)I have created an interface with 2 sections. Section 1 stores data in one CDT(emp1) and Section 2 stores data in another CDT(emp2).
2)I have created the process model and have included the ‘Write to multiple data store’ smart service.
The problem I am facing with this is the value under DATA->Output->Results->Storedvalues->targets, when I set the target variable and click on ‘OK’ and check the same node again, the value vanishes.
I need guidance to solve this issue.



processmodel.docx

OriginalPostID-219388

OriginalPostID-219388

  Discussion posts and replies are publicly visible

Parents
  • Under Data->Inputs->ValuestoStore->Expression Editor i have given
    ={
    {
    entity:cons!MD_EMP1,
    data:pv!Emp1_basic
    },
    {
    entity:cons!MD_EMP2,
    data:pv!Emp2_add
    }
    }
    where cons!MD_EMP1 and cons!MD_EMP2 are constants pointing to their respective entities...Also under

    "Custom Outputs". i.e DATA->Output->Custom Outputs > target

    Expression:ac!StoredValues[1].data
    operator: is stored as
    Target: Emp_1 (type: cdt)

    Expression:ac!StoredValues[2].data
    operator: is stored as
    Target: Emp_2 (type: cdt)

    my data still doesn't get written into the database
    my appian version is 16.1
Reply
  • Under Data->Inputs->ValuestoStore->Expression Editor i have given
    ={
    {
    entity:cons!MD_EMP1,
    data:pv!Emp1_basic
    },
    {
    entity:cons!MD_EMP2,
    data:pv!Emp2_add
    }
    }
    where cons!MD_EMP1 and cons!MD_EMP2 are constants pointing to their respective entities...Also under

    "Custom Outputs". i.e DATA->Output->Custom Outputs > target

    Expression:ac!StoredValues[1].data
    operator: is stored as
    Target: Emp_1 (type: cdt)

    Expression:ac!StoredValues[2].data
    operator: is stored as
    Target: Emp_2 (type: cdt)

    my data still doesn't get written into the database
    my appian version is 16.1
Children
No Data