Add extension function for testing whether a variable is initialized
--------------------------------------------------------------------

                 Key: ODE-884
                 URL: https://issues.apache.org/jira/browse/ODE-884
             Project: ODE
          Issue Type: New Feature
          Components: BPEL Runtime
            Reporter: Aleksander Adamowski


One of the most painful BPEL limitations is the inability to test whether a 
variable has been initialized.

I propose to implement a new expression language extension function (named 
"initialized()") that would return true or false depending on whether the given 
variable is initialized.

Obviously, the reference to an uninitialized variable in an argument list of 
this function should be exempt from throwing a bpel:uninitializedVariable fault.

 E.g.:

<bpel:variables>
              <bpel:variable name="someNumberVar" type="xsd:int" />
</bpel:variables>
....

<bpel:if name="someConditional">
         <bpel:condition><![CDATA[not 
(initialized($someNumberVar))]]></bpel:condition>
         ... some activity....
</bpel:if>



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to