0 Replies Latest reply on Sep 4, 2014 12:02 PM by barbara.devido.3

    BPEL - wait control does not set the duration correctly

    barbara.devido.3

      Hi,

       

      I have the following issue when I try to set the xpath expression for a WAIT component.

      I use the properties panel and set PT10S as value of the expression.

      In the xml source code I obtain:

       

      <bpel:wait name="Wait">

             <bpel:for><![CDATA[PT10S]]></bpel:for>

      </bpel:wait>

       

      instead that

       

      <bpel:wait name="Wait">

              <bpel:for><![CDATA['PT10S']]></bpel:for>

      </bpel:wait>

       

      The value is not enclosed in the single quotes and when I run the process I obtain the following error:

       

      18:00:31,620 ERROR [org.apache.ode.bpel.runtime.WAIT] (ODEServer-1) Fault while calculating due date: {http://docs.oasis-open.org/wsbpel/2.0/process/executable}invalidExpressionValue; Reason: Invalid duration:

       

      JBDS enviroment:

      Version: 7.1.1.GA

      Build id: GA-v20140314-2145-B688

      BPEL Visual Designer: 1.0.3.v20130816-0854-CI