Skip to main content
January 10, 2022
Question

Process Model Array of CDT save

  • January 10, 2022
  • 13 replies
  • 0 views

So I have an interface that is saving two array of CDTs the idea I was having is that it would store each iteration of the array into its own respective row for the array example: {[uuid:1, fkuuid: ab32, date: today], [uuid:2, fkuuid: cd43, date: tomorrow]}. In the database there would be a row for UUID 1 and a row for UUID 2 but when I execute the write to data store entry I only get uuid 1. To push this even further I am doing this two times for separate tables and its only putting 1 entry into 1 table. 

If there is any more information that is needed let me know! 

Any Ideas on how to get it to save all the information in the array of cdt to each of its separate rows?

13 replies

agamb0001
January 10, 2022

 Hey Kyle, 

 Are you using the smart service / function of Write to Data store. I assumed smart service

Could you attach some screenshots of the process variable you are trying to save and the configuration of your Write to Data store smart service

Quick thing to check:

 - Are you marking the multiple checkbox of the Write to Data store ?

Also, look into the documentation. this could help

https://docs.appian.com/suite/help/21.4/Write_to_Data_Store_Entity_Smart_Service.html

https://docs.appian.com/suite/help/21.4/Write_to_Multiple_Data_Store_Entities_Smart_Service.html

kyleg0003Author
January 10, 2022

I can look into these things I know for sure I am using a write to data store and not a multiple

agamb0001
January 10, 2022

thanks Kyle

Did you check about the Multiple checkbox is checked for the data input you would have created?