Forum tags


Top Posters

Last 30 days

  • Antoine (38)
  • ravinderjit.singh (30)
  • danielandross (18)
  • venkaiah.k (16)
  • sirswendu.ganapati (14)
  • eva.das (13)
  • milos.vacek (12)
  • metabyte (9)
  • dfrench (5)
  • richard.berger (5)

All time

  • Antoine (1488)
  • Shivanand (1194)
  • cshekhar (928)
  • psq (796)
  • jag (391)
  • metabyte (380)
  • arnaud (328)
  • jalateras (325)
  • dfrench (271)
  • venkaiah.k (214)

Show last 4 hrs - 12 hrs - 24 hrs

POLL

We are looking for more information to tailor our training to better meet the needs of our customers. Please indicate all options that apply.

I would like to attend specialized training from Intalio on BPM as it relates to my application area:


I would like to attend specialized training from Intalio on BPM as it relates to my job function:


I would like to attend specialized training from Intalio on BPM as it relates to my industry:

Login

MAIN arrow FORUMS
BPEL condition not working (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: BPEL condition not working
#12989
ben.bushman (User)
Fresh Boarder
User Offline Click here to see the profile of this user
BPEL condition not working 8 Months, 2 Weeks ago Karma: 0  
I have an Exclusive Data-base Gateway in my process. There are two flow connectors that leave it. I tried testing the first connector, the error condition, and the process does not end even though it connects to an empty end event. My goal is to make the process end there if one of the fields in an xform is left empty. In order to check for this I use the following:
<bpel:condition>$xformInitProcessRequestMsg.root/xform:taskOutput/xform:output/xform:Proposed_Second_Middle_Name/text() = ""</bpel:condition>

The second is set as the default choice and the process seems to flow through that instead.

Where am I going wrong? Is the condition incorrect?

-Ben
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#12992
pierre.pavageau (User)
Moderator
User Offline Click here to see the profile of this user
Re:BPEL condition not working 8 Months, 2 Weeks ago Karma: 0  
Hi Ben,

Could you upload the concerned project so we can take a look at it ?

Also, for this particular example you do not need to use a gateway, you can set the fields in your xform to 'required' from the 'properties' menu by setting the 'required' property to 'true'.

Hope this helps,
Pierre
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/04/23 03:14 By pierre.pavageau.
  The administrator has disabled public write access.
#12993
ben.bushman (User)
Fresh Boarder
User Offline Click here to see the profile of this user
Re:BPEL condition not working 8 Months, 2 Weeks ago Karma: 0  
Pierre,

Many thanks for your reply and your offer to help.

I actually was able to find out what was wrong. I changed the condition to:

<bpel:condition>"" = $xformInitProcessRequestMsg.root/xform:taskOutput/xform:output/xform:Proposed_Second_Middle_Name</bpel:condition>

It is working fine now.

-Ben
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop