Hi all,
I am facing a very strange behaviour and still try to understand the root cause.
Here is what I am doing:
I have created an approval workflow to be re-used in several different situations. The approval can have up to 3 levels and each level can decide if there is one approval needed or all from that level.
This is working fine with the help of ScriptRunner fast-tracking based on conditions.
Now what is strange:
The users required for the approval are in separate custom fields: Approvers, 2nd Approvers, 3rd Approvers.
For the demonstration, I have added myself as the approver in all 3 fields.
The problem is with the email that is sent: It includes one additional "approval block" from the second level onwards. Meaning the approver in the 3rd stage will get 2 approve buttons in one mail, which does not make sense at all. The first approval level is working fine.
Does anybody has an explanation on why this happens this way?