How to pass only filled macro in aggregation operator

sgnarkhede2016
New Altair Community Member
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?
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?
0
Best Answer
-
Hi @sgnarkhede2016,
you could use multiple nested Branch operators that check if the current macro value is filled in, or Select Subprocess with the current number of defined group attributes.
Regards,
Balázs5
Answers
-
Hi @sgnarkhede2016,
you could use multiple nested Branch operators that check if the current macro value is filled in, or Select Subprocess with the current number of defined group attributes.
Regards,
Balázs5 -
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.0
-
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ázs0