Good Day Everyone!
I'm having a problem on how to use the foreign key on my CDT so that I use another Record type as Rule Input, but when I used the Interface in a process model, I'm having a problem on the variables because I used a record type as a rule input. also I can't use the can't call the rule input in the context under Related action on my record type because of the same problem that I used a record Type as a Rule Input. what should I do?
Thank you!!
Discussion posts and replies are publicly visible
Your text is pretty confusing. Do you talk about one problem or multiple problems?
The current situation in Appian is that you cannot use record types in process models.
Create your interfaces using the CDT types for inputs.
I'm having a multiple Problems. I think it's because I used a record types as a Rule Input. what if I'm just getting those data in the web service - Record Type and don't have a copy of its cdt. how can I create a rule input base on the Web Service - Record Type?
A web service cannot return a record type. It returns just a data structure you can turn into whatever you need.
instead using record type use normal CDT as rule Input in interface. & to maintain FK relationship do it in the DB level, like PK of one table is reference key in another table. I hope it will simplify your design
Thank you Stefan!
Thank you Tanvir!!, will try again to change my rule inputs in my interface and maybe create a query and a local variable so that I can call the data from the record type.