Create an expression that takes a company and renders different grids

Hello,
I want to use an expression rule with an array of cdt_company as an input, to return 2 outputs:
- a selectable grid with the company
- the selected company from the grid
I've attached the example, where I tried to return an array of the two elements, but it's pretty obvious that it doesn't work - the second element does not reevaluate after the selection. How can I accomplish both outputs?
Thank you!

er_CL_companySummaryGrid.sail77

OriginalPostID-144021

OriginalPostID-144021

  Discussion posts and replies are publicly visible

Parents
  • Thanks for your comments but what I need is a bit different. The rule returns the grid and I also need it to return (or to modify) another parameter, the selected company.

    To be more clear, I will express my problem in different ways. So, I need a rule that:
    - will be able to return 2 outputs: the grid and the selected company OR
    - will return an array with two elements: the grid and the selected company OR
    - will return a grid and also will have a rule input (the selected company) that will be updated when the user interacts with the grid
Reply
  • Thanks for your comments but what I need is a bit different. The rule returns the grid and I also need it to return (or to modify) another parameter, the selected company.

    To be more clear, I will express my problem in different ways. So, I need a rule that:
    - will be able to return 2 outputs: the grid and the selected company OR
    - will return an array with two elements: the grid and the selected company OR
    - will return a grid and also will have a rule input (the selected company) that will be updated when the user interacts with the grid
Children
No Data