Skip to main content
January 20, 2022
Question

how to get a values from a sub interface

  • January 20, 2022
  • 6 replies
  • 0 views

if i want to transport a value to a interface belongs to certain rule i can use rule(a:local!a),

but how can i vice versa get a variable value belongs to its interface?

    6 replies

    harshitb6843
    January 20, 2022

    Hi there,

    The code you have written works both ways. 
    If you change the value of RI 'a' in 'rule' interface, then that will be reflected in the parent's local!a variable. And vice versa. 

    January 20, 2022

    i mean i write in the parent interface only, it can extract child local!value. Is this mean i do not have to change any thing?

    harshitb6843
    January 20, 2022

    You cannot extract the local variables of a child interface. To do so, you need to save them in the rule inputs.