<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Dear community,</p>
<p>I am dealing with the following issue in an approval process:</p>
<p>The approval process comprises of two stages. In the first stage
a pool of potential approvers is created via an approverExpression
script.<br>
</p>
<pre></pre>
<p>The stage is set to<span style="color:#e8bf6a;">:
<evaluationStrategy></span>firstDecides<span
style="color:#e8bf6a;"></evaluationStrategy></span></p>
<pre style="background-color:#2b2b2b;color:#a9b7c6;font-family:'JetBrains Mono',monospace;font-size:9,8pt;"><pre><span style="color:#e8bf6a;"></span></pre><pre><span style="color:#e8bf6a;"></span></pre><span style="color:#e8bf6a;"></span></pre>
<p>The second stage selects the potential approvers from the same
pool, but now has to exclude the user that approved stage 1. This
is to be implemented into an approverExpression script as well.</p>
<p>I am trying to read the performerRef property of the work items
of stage 1 and later on exclude the corresponding user from the
approver pool. Unfortunately the performerRef (as well as the
output) properties are empty when the approvalExpression is
recalculated during the approval of stage 1. <br>
</p>
<p>I suspect that the calculation starts before the work item of
stage 1 is completed.</p>
<p><br>
</p>
<p>Remark: Due to the complexity of the script and its dependency on
variables such as object and target, I did not find a way to build
the approval via approverRef and using the <resolutionTime>
setting.</p>
<br>
<p>Would any of you know a possibility to suspend the recalculation
to a later time or to otherwise enforce the recalculation?</p>
<p><br>
</p>
<p>Thank you very much in advance.</p>
<p>Best regards,</p>
<p>Marc</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Marc Füller
Consultant
DAASI International GmbH
Europaplatz 3
D-72072 Tübingen
Germany
phone: +49 7071 407109-0
fax: +49 7071 407109-9
email: <a class="moz-txt-link-abbreviated" href="mailto:marc.fueller@daasi.de">marc.fueller@daasi.de</a>
web: <a class="moz-txt-link-abbreviated" href="http://www.daasi.de">www.daasi.de</a>
Sitz der Gesellschaft: Tübingen
Registergericht: Amtsgericht Stuttgart, HRB 382175
Geschäftsleitung: Peter Gietz</pre>
</body>
</html>