Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
How to pass only filled macro in aggregation operator
sgnarkhede2016
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?
Find more posts tagged with
AI Studio
MacOS
Aggregate
Macros
Accepted answers
BalazsBaranyRM
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ázs
All comments
BalazsBaranyRM
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ázs
sgnarkhede2016
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
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
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups