Skip to main content
September 21, 2022
Question

I need to update my data(write to data store entity) after the previous one completed

  • September 21, 2022
  • 6 replies
  • 0 views

Hello 

I need to update my data in db(new status) whenever the previous section completed and i don't need previous data(perious section).

Thus if L1 has store the status in db as selected , then After L2 has store the status as selected in L2 , 

The L2 data has to update in db ,i don't need L1 status . 

i just need final updated one. Please find my Attachments 

Please ping me for extra information

Thanks and regards 

Pavan 

    6 replies

    csteward
    September 21, 2022

    I'm not quite clear on the issue here yet.  If you could expand on your scenario, exactly what should happen when, that would be helpful.

    Are the Data Stores in each of the 3 writes L1/L2/HR the same data store, but updating different fields, or are they all different?

    If they are the same, then you can update your CDT within the user input task interfaces accordingly. If they are different you will need to update the other CDTs, likely also within the user input tasks, then you can utilize Write to Multiple Data Store Entities after each task.

    But I'm not clear on what updates need to be made when..

    September 22, 2022

    In the write to datastore entity, you have to save the value which got inserted/updated into the DB. for this you can go to WSE->go to output and map the stored value output configuration with the process variable which you are using for insertion, With this, you are capturing your primary key which will help you to update the data instead of creating a new row.

    September 22, 2022

    Hello Deepak 

    Which Operator should i use for updating 

    September 22, 2022

    is stored as