is there a way to get the activities list of the parent task of my selected activity ?

Ahmed Abd El Hameed 4 weeks ago updated by Juan (Comunica Translations) 4 weeks ago 1

is there any possible way to search the parent task of my selected activty for a certain activity type using macro ?

not sure if activity.task.activities is the right approach for this, any ideas ?


do you need it in a Macro? Because you could see that in a view.

If still sticking to the macro's idea, I would do it looping through:

[Selected Activity] > getTask() > getActivities()

Not an expert in Groovy though.

Best regards.