2007/1/23, Marius Erni <[EMAIL PROTECTED]>:
> Hi John,
>
> The Pattern 15.1 you have in your Documentation needs to have a sequence
> Element for the launch process-definition i think.
> Then it should work fine.
>
> Kind regards Marius
>
>
> Here the corrected code:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <process-definition
>     name="MultipleInstancesWithoutAPrioriRuntimeKnowledge"
>     revision="1.0" >
>
>     <description>
>     For one case an activity is enabled multiple times. The number of
> instances of a given activity for
>     a given case is not known during design time, nor is it known at any
> stage during runtime, before
>     the instances of that activity have to be created. Once all instances
> are completed some other activity
>     needs to be started. The difference with Pattern 14 is that even while
> some of the instances are being
>     executed or already completed, new ones can be created.
>     </description>
>
>     <!-- flow body -->
>
>     <subprocess ref="launch" />
>
>     <!-- subprocesses -->
>
>     <process-definition name="launch">
>         <sequence>  <!-- update>
>         <subprocess ref="activity" forget="true" />
>         <participant ref="b" />
>         <if>
>             <equals
> field-value="fire_more_instances_of_activity"
> other-value="true" />
>             <!-- then -->
>             <subprocess ref="launch" />
>         </if>
>         </sequence>  <!-- update-->
>     </process-definition>
>
>     <process-definition name="activity">
>         <participant ref="a" />
>     </process-definition>
>
> </process-definition>

Hey, thanks a lot Marius,


kind regards,

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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFE users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwfe-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to