Hi All
sending to owfe-suers list
 
Thanks & Regards
JP

JP Singh <[EMAIL PROTECTED]> wrote:
Date: Fri, 2 Jun 2006 03:19:42 -0700 (PDT)
From: JP Singh <[EMAIL PROTECTED]>
To: [email protected]
Subject: [OpenWFE-devel] Fwd: workflow PDL help needed

FYI

JP Singh <[EMAIL PROTECTED]> wrote:
Date: Fri, 2 Jun 2006 03:09:34 -0700 (PDT)
From: JP Singh <[EMAIL PROTECTED]>
Subject: workflow PDL help needed
To: [EMAIL PROTECTED]

Hi John,
 
After a long time this is JP again.
 
I have a problem which looks simple to code in PDL. However practical implementation is giving me trouble.
 
First I shall document the problem:
 
STEP1: Designer submits the design for review.

 STEP2: Reviewer1 reviews has two options:

 2A: if design needs inprovement he sends it back to Designer.

 STEP1.

 2B : If satisfied with design he sends it to Reviewer2.

 STEP3:Reviewer has three options:

 3A:If needs clearification on design sends it back to Reviewer1.

 STEP2.

 3B: If unsatisfied with the design he sends it back to Designer.with  
a read only copy to Reviewer1

 STEP1

 3C: approves the design

My problem is that I want to go back to Step1 or Step 2 then the workflow is behaving differently.
 
Here writting flows is something similar to write code in Java and C. But in workflow I am not able to visualize how things are happening.
 
While I am using subprocesses to revert back its not behaving as 1st step behaved.
 
Practically , once Rev2 sends back to Designer and/or Reviewer1 we should proceed from that point.
 
Do I need to write different subprocesses for such cases?
 
I think I have confused you enough :)
 
I have attched the code I am using it may help you to understand what I am saying.
 
Thanks & Regards
JP
 


John Mettraux <[EMAIL PROTECTED]> wrote:
Hi Lukas,

On 5/29/06, Lukas Eder <[EMAIL PROTECTED]>wrote:
> > I like this concept you have of connecting your IDE to a 'project'.
> >
> > Could we find another name : 'suite' ?
> >
> > What I don't like with the name 'project' is that, well, it's
> > a project. You're rather connecting to a 'suite' (maybe
> > you've got a better name).
>
> I used the term 'project' because it is the top-level resource in the
> eclipse workspace. To me, suite doesn't sound like an instance/installation
> of a product but more like a product or a definition of a product in
> general...

I like "instance".

> > What does your IDE currently need ? participant-map.xml,
> > _expression_-map.xml, ... OpenWFE can read it from files or from URLs.
>
> It currently reads all participant map definitions (.xml files containing a
> root element) and all workflow definitions (.xml files
> containing a root element), regardless of their file
> names. But I'm not using OpenWFE libraries for that, as they don't preserve
> the original XML structure (comments, etc), which I need to be able to
> properly serialize again.

It's perfect like that.

> > Your IDE should be able as well : three or four URLs would
> > then make the configuration of a project/suite.
>
> Exactly. Do you think the _expression_ map should have its editor, too?

No, the _expression_-map almost never changes. No editor for it.

> > Of course, that doesn't make your life easy ;-) saving
> > locally a process-definition is easier than pushing it to a webserver.
> > But OpenWFE is truly distributable and we shouldn't have to
> > run the IDE on the same machine as the IDE.
> > For your master project, it's OK to connect and save locally.
> > In further iterations someone will add more push methods. So
> > don't lock the code to make it 'local only'.
>
> If using the right libraries and architecture, this should be completely
> transparent to the code. I will have to re-think the IDE View and use
> org.eclipse.core.resources instead of plain java.io.Files

Fine.


Best regards,

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


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
_______________________________________________
OpenWFE - Open source WorkFlow Engine
OpenWFE-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openwfe-devel

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.openwfe.org/flowdef_r1.5.0.xsd"
name="docflow"
revision="1.0">


concurrence example base version working littlebit don't change























































































__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.openwfe.org/flowdef_r1.5.0.xsd"
name="docflow"
revision="1.0">


concurrence example base version working littlebit don't change






















































































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

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

<?xml version="1.0" encoding="UTF-8"?> 
<process-definition 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:noNamespaceSchemaLocation="http://www.openwfe.org/flowdef_r1.5.0.xsd";
    name="docflow" 
    revision="1.0">
	
	<description language="default">
		concurrence example base version working littlebit don't change
	</description>
	
	<sequence>
         	  <set field="author_name" value="fill this field" />
                <set field="FilePath" value="" type="string" />
                <set field="Name" value=" " type="string"/>
                <set field="FileName" value="" type="string" />
		<set field="approved1" value="true" type="boolean" />
		<set field="approved2" value="false" type="boolean" />
		<set field="sentdgn" value="false" type="boolean" />
<loop>
<sequence>
<participant ref="designer" filter="derw" />
<participant ref="reviewer1" filter="re1rw"/>
</sequence>
<until>
<equals field-value="approved1" other-value="true"/>
 </until> 
</loop>
 <loop> 
<sequence>
<participant ref="reviewer2" filter="re2rw"/>
 <subprocess ref="final-round"/> 
 <until> 
 <equals field-value="approved2" other-value="true" /> 
 </until> 
</sequence>
 </loop> 
</sequence>
	
<process-definition name="final-round"> 
<if> 
 <equals field-value="approved2" other-value="false" />  
<if>
<equals field-value="sentdgn" other-value="true" />
 <concurrence>
 <participant ref="designer" filter="derw"/> 
 <participant ref="reviewer1" filter="designer-filter" /> 
 <subprocess ref="de-re1" />
 </concurrence> 
<concurrence>
<!-- <participant ref="designer" filter="designer-filter"/> -->
 <participant ref="reviewer1" filter="re1rw" />
 </concurrence>
</if> 
</if>
 </process-definition> 
	

<filter-definition name="designer-filter" type="closed" add="false" remove="false">
<field regex="[aA-zZ]*" permissions="r" />
    </filter-definition>
<filter-definition name="derw" type="closed" add="false" remove="false">
<field regex="FilePath"  permissions="rw"/>
<field regex="FileName"  permissions="rw"/>
<field regex="Name"  permissions="rw"/>
<field regex="author_name" permissions="rw" />
<field regex="approved1" permissions="r" />
<field regex="approved2" permissions="r" />
<field regex="sentdgn" permissions="r" />
<field regex="reviewer1_comments" permissions="r" />
<field regex="reviewer2_comments" permissions="r" />
</filter-definition>
<filter-definition name="re1rw" type="closed" add="false" remove="false">
<field regex="FilePath"  permissions="r"/>
<field regex="FileName"  permissions="r"/>
<field regex="Name"  permissions="r"/>
<field regex="author_name" permissions="r" />
<field regex="approved1" permissions="rw" />
<field regex="reviewer1_comments" permissions="rw" />
<field regex="reviewer2_comments" permissions="r" />
<field regex="approved2" permissions="r" />
<field regex="sentdgn" permissions="r" />
</filter-definition>
<filter-definition name="re2rw" type="closed" add="false" remove="false">
<field regex="FilePath"  permissions="r"/>
<field regex="FileName"  permissions="r"/>
<field regex="Name"  permissions="r"/>
<field regex="author_name" permissions="r" />
<field regex="approved1" permissions="w" />
<field regex="reviewer1_comments" permissions="w" />
<field regex="reviewer2_comments" permissions="rw" />
<field regex="approved2" permissions="rw" />
<field regex="sentdgn" permissions="rw" />
</filter-definition>
</process-definition>
_______________________________________________
OpenWFE - Open source WorkFlow Engine
OpenWFE-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openwfe-devel
_______________________________________________
OpenWFE - Open source WorkFlow Engine
OpenWFE-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openwfe-users

Reply via email to