Skip to main content
October 30, 2021
Question

Cast integration and CDT

  • October 30, 2021
  • 4 replies
  • 0 views

Hello!

I am making a call to an integration to retrieve data that I am saving in a local variable. then I have another local variable with a parent cdt. And now I want to save my integration data in my son cdt. How can I cast my data to follow the format of my database and have in my child CDT a column of my parent CDT?

I need to use whereContains?

I am learner.

Thanks !

4 replies

stefanhelzle0001
Brainy
October 30, 2021

If the field names are the same, then you can just assign it. Appian will do the casting for you.

What would you want to do with whereContains?

October 30, 2021

My problem is that in one table I have: idprovince (PK), codprovince and nameprovincie and in my second table I have: idmunicipality (PK), codmunicipality, namemunicipality and as FK idprovince. What I would need is to incorporate the codprovince data in the idprovince column to relate my tables through that code.

stefanhelzle0001
Brainy
October 30, 2021

https://docs.appian.com/suite/help/21.3/Expressions.html#constructing-data-type-values

Just create the new data and assign the according values from the integration response.