Schema Central > WS-BPEL 2.0 > ws-bpel_executable.xsd > if
Advanced search
Need SOA Help?

Recommended Reading:

Web Service Contract Design and Versioning for SOA

 

Definitive XML Schema

 

if

Element information

Type: tIf

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
Any attribute[0..*]Namespace: ##other, Process Contents: laxfrom type tExtensibleElements
name [0..1]xsd:NCNamefrom type tActivity
suppressJoinFailure [0..1]tBooleanfrom type tActivity

Used in

Sample instance

<if>
   <condition>
            
            bpel:getVariableProperty('stockResult','inventory:level') &gt; 100
            
        </condition>
   <flow/>
   <elseif>
      <condition>
                
                bpel:getVariableProperty('stockResult','inventory:level') &gt;= 0
                
            </condition>
      <throw faultName="FLT:OutOfStock" variable="RestockEstimate"/>
   </elseif>
   <else>
      <throw faultName="FLT:ItemDiscontinued"/>
   </else>
</if>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to contrib@functx.com