We need create a condition for ticket do not allow change a Resolved when this it has task pending.
please refer to this question:task is pending but request closed. Let us know if you are unclear about any of the details of making this work, I'm sure someone will help out.
Do you require any further assistance on this thread/topic?
I still did not found solution a this issue, te macro action not possible create.
Retrieving data ...