<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Santosh,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I think you need to add it as part of a META-INF
directory inside a source dir. </FONT><FONT size=2 face=Arial>There's a
screencast that shows you how to get a simple example working, try following
that and let me know if you still have issues with that:</FONT></DIV>
<DIV><FONT size=2 face=Arial><A
href="http://people.redhat.com/kverlaen/DomainSpecificWorkItem.swf">http://people.redhat.com/kverlaen/DomainSpecificWorkItem.swf</A></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Kris</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=sam.sensation@gmail.com href="mailto:sam.sensation@gmail.com">santosh
mukherjee</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=rules-users@lists.jboss.org
href="mailto:rules-users@lists.jboss.org">Rules Users List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, July 21, 2010 8:54
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [rules-users] Drools Flow
5.1 - latest snapshot -- Gateway(Diverge) : Split Node - Priority Does not
Work</DIV>
<DIV><BR></DIV>Hi,
<DIV><BR></DIV>
<DIV>I have added my MyWorkDefinitions.conf and drools.rulebase.conf file in a
source folder named "resources" inside my project. But then also my work items
are not showing in the flow editor. Can anybody tell me why this is so?</DIV>
<DIV><BR></DIV>
<DIV>Thanks</DIV>
<DIV>Santosh Mukherjee.</DIV>
<DIV><BR>
<DIV class=gmail_quote>2010/7/21 Vijay K Pandey <SPAN dir=ltr><<A
href="mailto:VPandey@mdes.ms.gov">VPandey@mdes.ms.gov</A>></SPAN><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV lang=EN-US vlink="purple" link="blue">
<DIV>
<P class=MsoNormal>Hi All,</P>
<P class=MsoNormal> </P>
<P class=MsoNormal>In the Drools Flow 5.1 latest snapshot , for the node
(Gateway (Diverge) : Split Node), somehow priority does not work. If we set
some value, lets say 100 and open the process file(BPMN2) again and check
the priority – somehow it doesn’t retains the priority value and reports the
value always as 0.</P>
<P class=MsoNormal> </P>
<P class=MsoNormal>I am trying to make use one of the feature of XOR type
node where one of the constraint is “always true” with the highest priority.
I hope my understanding is right.</P>
<P class=MsoNormal> </P>
<P class=MsoNormal>This is what the Drools Flow Doc says:</P>
<P class=MsoNormal> </P>
<P class=MsoNormal><SPAN style="COLOR: #333333; FONT-SIZE: 9pt">XOR means
that exactly one of the outgoing connections will be chosen. The decision is
made by evaluating the constraints that are linked to each of the outgoing
connections. Constraints are specified using the same syntax as the
left-hand side of a rule. The constraint with the
<EM><SPAN>lowest</SPAN></EM> priority number that evaluates to true is
selected. Note that you should always make sure that at least one of the
outgoing connections will evaluate to true at runtime (the ruleflow will
throw an exception at runtime if it cannot find at least one outgoing
connection). For example, you could use a connection which is always true
(default) with a <EM><SPAN>high</SPAN></EM> priority number to specify what
should happen if none of the other connections can be taken.</SPAN></P>
<P class=MsoNormal> </P>
<P class=MsoNormal>Has anyone faced this issue?</P>
<P class=MsoNormal> </P>
<P class=MsoNormal>Thanks</P>
<P class=MsoNormal>Vijay</P>
<P
class=MsoNormal> </P></DIV></DIV><BR>_______________________________________________<BR>rules-users
mailing list<BR><A
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</A><BR><A
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target=_blank>https://lists.jboss.org/mailman/listinfo/rules-users</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>rules-users mailing
list<BR>rules-users@lists.jboss.org<BR>https://lists.jboss.org/mailman/listinfo/rules-users<BR></BLOCKQUOTE><br>
<FONT FACE=3D"Helvetica" SIZE=3D2>Disclaimer: <A HREF="http://www.kuleuven.be/cwis/email_disclaimer.htm">http://www.kuleuven.be/cwis/email_disclaimer.htm</A> for more information.</FONT>
<BR>
</BODY></HTML>