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
We cannot use local variable of interface 1 in interface 2..right?
You can pass create a rule input in interface 2 and pass the local variable to interface 2 using this rule input
Sarathkumar R said:But its showing as error.
Which error?
And what exactly do you mean with
Sarathkumar R said:I want to pass CDT rule input of interface 1 to interface 2 as a parameter.
Is interface 2 called inside interface 1, or are these two subsequent interfaces in a process flow?
Hi StefanThis is a very old thread from around 3 yrs back. Please ignore my queries since I dont even remember the issue. Seems Sanju is facing similar issue
These are two subsequent interfaces in a process flow.
This thread is confusing. Do you mind opening a new one? Please describe your problem in detail.
Sure, Of course!