Hi All,
I have a requirement in my project,
I have 16 diffrent interfaces, which need to be displayed based on condition,
ex: if ruleinput(id) value is 1 ,then 1st interface should get displayed.
if id=2, 2nd interface should get displayed. like that I have to display 16 interfaces vased on id value,
can you please help me,how can i achive this other than using ifelse conditions?
Thanks
Divya
Discussion posts and replies are publicly visible
Divya, You can use choose() function to achieve this. eg. choose(ri!id, rule!interface1, rule!interface2,...)
docs.appian.com/.../fnc_logical_choose.html
You can use decision rule also to achieve. Input to the decision rule should be id...and configure the output variable of the decision to use the interface name
Using decision requires some configuration.Please look over decision rule configuration
You can use a decision table to check the different values that you need to evaluate and return the id of the interface that you are going to use.
1) you can use choose() like
choose(ri!id, rule!interface1, rule!interface2)
2)you can use index() like
index(
{
rule!interface1,
rule!interface2,
rule!interface3
}
ri!id,
null
)
3) You can use a decision rule