How to start a rule input with data?

Certified Associate Developer

Hi team,

im looking a way to start a rule input with data, for example: i get data in a child sail that i need to pass in a parent sail at the first moment the parent sail calls to child

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Hi Almanava,

    you should be saving the values in a rule input in child interface and pass that to main interface using ri!.

    Are you looking for sample code?

  • 0
    Certified Associate Developer
    in reply to karthikkanjerla

    Hi, i think is more complex, what im really trying to do is get the data from de child interface, in the parent interface i have a foreach to show the same child interface per item but with different data because the data showed depends on the info in the item given, so this is working well, but i need to get the data from each interface and append all of them in the parent interface in a local variable, and i tried to pass a ri in the child interface but when i tried to append this ri it doesn't work, the local just recover the data of the interface that im selecting in that moment.

Reply
  • 0
    Certified Associate Developer
    in reply to karthikkanjerla

    Hi, i think is more complex, what im really trying to do is get the data from de child interface, in the parent interface i have a foreach to show the same child interface per item but with different data because the data showed depends on the info in the item given, so this is working well, but i need to get the data from each interface and append all of them in the parent interface in a local variable, and i tried to pass a ri in the child interface but when i tried to append this ri it doesn't work, the local just recover the data of the interface that im selecting in that moment.

Children
No Data