I have two interfaces. I want to pass CDT rule input of interface 1 to interface 2 as a parameter. Consider CDT rule input as ri!details in interface 1 and ri!bookDetails in interface 2. I tried this code in expresssion mode of interface 1."rule!interface2(bookDetails:ri!detiails).
But its showing as error. Can anyone help me?
Discussion posts and replies are publicly visible
HiWhat is the error you are getting? I see some type in rule input(*ri!detiails)rule!interface2(bookDetails:ri!details)
Create a local variable in the Interface1 and get the CDT valueuse this local variable as the input parameter of Interface 2 (make sure the data types is same in both Interfaces for that inputs)
by this way you can reuse this local variable as input in multiple interfaces