Hi JP,

On 6/8/06, JP Singh <[EMAIL PROTECTED]> wrote:
> Hi John,
>
>  I tried to investigate the issue. Though I don't understand the logs. I see
> some interesting stuff in worklist.log.
>
>  Please see wfInstanceId="1149745622888" is same till last step. Here
> wfInstanceId="1149745668525" changes. The value
>  expressionId="null". I again see in the first step too expressionId="null".
>
> So I can say 1st and last step are almost identical i.e. a new workitem is
> launched. In intermediate steps
>
> the same workitem is processed. This is what is practically happening. Do I
> make some sense?
>
> What are your thoughts?

My thoughts ? There are lots of them.

Why don't you do something like :

---8<---

<process-definition name="jp_flow" revision="x.y.z">

    <sequence>

        <!-- initialization -->
        <set field="author_name" value="fill this field" />
        <set field="FilePath" value="" type="string" />
        <set field="approved" value="false" />

        <!-- launch rounds -->
        <subprocess ref="round" />

    </sequence>

    <process-definition name="round" revision="x.y.z">
        <sequence>
            <participant ref="designer" />
            <participant ref="reviewer1" />
            <participant ref="reviewer2" />

            <if test="${f:approved} == false">
                <subprocess ref="round" />
            </if>
        </sequence>
    </process-definition>


</process-definition>

--->8---

That's recursive. You could also do it with a <cursor>.


Best regards,

-- 
John Mettraux   -///-   http://jmettraux.openwfe.org


_______________________________________________
OpenWFE - Open source WorkFlow Engine
OpenWFE-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openwfe-users

Reply via email to