|
|
|
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
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
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
|
|
|
|
|
|
|
Last Edit: 2008/04/23 03:14 By pierre.pavageau.
|
|
|
The administrator has disabled public write access. |
|
|
|
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
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|