Hello Community,
I need help with setting up an interface. I have an "ElectivesProfile" interface that has two columns: Elective and Students.
I want to create a CDT with the keys studentFullName and studentID. When the user clicks a name, I need to update these values in the CDT (I can do this part). Then, I want to send these values to the "StudentDetails" interface as rule inputs: fullName and studentID.
I'm having trouble using the CDT values as parameters in the "StudentDetails" interface.
Discussion posts and replies are publicly visible
Create a ruleInput of same type in both the interfaces and then when calling the child interface from parent , you can pass the values as rule input. if you want to pass the values from one interface to another interface you would need to create a PM and in that a process variable of same type. and then configure two user input task and then pass the value from first interace to Process variable then that Process variable can pass the value to interface
sanjuktab2257 said:I'm having trouble using the CDT values as parameters in the "StudentDetails" interface.
HI sanjuktab2257 ,
What difficulty or issue you are facing here? Create a rule input of your CDT type in the StudentDetails and pass the value.
Hi, you can create a rule input of type CDT by defining it in your CDT and replicating the same rule inputs in the second interface. For example: Interface1(ruleInput1: Students --- type: CDT) and Interface2(ruleInput2: Students --- type: CDT). Then, call Interface2 in Interface1, or interface2 in interface1 like rule!Interface2(ruleInput2: ruleInput1).
Thank you Gayatri, it was really helpful.
A blog post I wrote a while ago also might help you to understand how to manage data in interfaces.
https://appian.rocks/2022/07/05/data-in-interfaces/