How to pass only filled macro in aggregation operator

sgnarkhede2016
sgnarkhede2016 New Altair Community Member
edited November 2024 in Community Q&A
Hello,
I have total seven macro as per iteration values fillled in macro but I am getting error "Group By attribute not found"

e.g
I first iteration only my two macro filled other five are empty I will passed all macro in select attribute.
Because next iteration I will get first three macro values and so on..........
How to handle this situation?


Best Answer

Answers

  • sgnarkhede2016
    sgnarkhede2016 New Altair Community Member
    but we need to handle this through configuration file Like in Future we add any new scenario in the config then again we need to add a new branch in the process that we are trying to avoid.
  • BalazsBaranyRM
    BalazsBaranyRM New Altair Community Member
    Hi,

    could you structure it into a subprocess with one macro parameter (containing concatenated values for example) and call that subprocess recursively? It's probably not easy but it might be the generic solution you're searching for.

    Regards,

    Balázs