How do we call an interface with 6 user type and 2 group type in another interface.
Discussion posts and replies are publicly visible
Hi Radha,
You can call an interface inside another interface using 'rule!' followed by the interface name. e.g. rule!anotherInterface() and then within its brackets, you can map the rule inputs of interface with the literal values or another set of rule inputs or local variables present on the parent interface.
Adding a code snippet below for your ease.
rule!anotherInterface( group1: ri!group, group2: local!group, group3: cons!ADMIN_GROUP, user1: loggedInUser(), user2: touser("harshit.bumb") )
I hope that helps.
Thanks,Harshit
's answer is exactly right with regards to calling an interface from another interface.
However I'm a little confused as to what exactly you mean by:
Radha009 said:an interface with 6 user type and 2 group type
Could you clarify as to what your needs are with the users/groups (types) in question?
Thanks
Mike I was able to solve