bsh Example

<Transition FromActivity="CheckMasterCatalog" ToActivity="GetMasterCatalogId">
   <Description>If mastercatalog is not equal to 'ITEM_VENDOR_NUMBER', then    go to 'GetMasterCatalogId' activity</Description>
   <Rule>
      <Parameter name="MasterCatalog" direction="in" type="string"
       eval="xpath"source="/Message/Body/Document/OriginalDocument/Message/
       Body/Document/BusinessDocument/CatalogAction/CatalogActionHeader/
       MasterCatalog/RevisionID/BaseName/text()">inDoc</Parameter>
       <Parameter name="result" type="boolean" direction="out" />
      <Condition format="bsh">
         <![CDATA[
                                             result = !(MasterCatalog.equalsIgnoreCase("ITEM_VENDOR_NUMBER") || MasterCatalog.equalsIgnoreCase("STATUS_TICKLER"));
      </Condition>
   </Rule>
</Transition>