Skip to main content
September 11, 2022
Question

Unable to Save data in data store while executing a process

  • September 11, 2022
  • 2 replies
  • 0 views

Hi team,

I am facing an issue where My data is not getting saved in data store.

I am using a process model which can be seen below-

I have set up the process variable 'Result' for tracking the integration result.

Also, in the 3rd node,i.e., Write To Data Store Entities, I have used the following setup,

But Somehow data is not able to get stored in Data Store. To track the output of the write To Data Store Entity node, I have used an output variable,

Now see the below Screenshots while process was in Execution, the process variable details

I can see the storedValues is returning empty. 

What's the wrong with the above process ? 

Please help in this regard.

2 replies

harshitb6843
September 11, 2022

The 'result' variable is of a different type than 'BTUA_Scripts...' so you might need a script task between 2nd and 3rd node to cast the data in the correct type. Also, HttpResponse shows a lot more data than your original CDT. Make sure you pick the right columns from it. 

September 12, 2022

You have to create a local variable of type BTUA_Scripts_v2_tbl_cdt and map the integration result with the new PV by using cast function or some logic to map Integration result with that and use the new PV for insertion.