Skip to content

Instantly share code, notes, and snippets.

@nialdarbey
Created November 6, 2012 12:57
Show Gist options
  • Save nialdarbey/4024559 to your computer and use it in GitHub Desktop.
Save nialdarbey/4024559 to your computer and use it in GitHub Desktop.
content based routing operation
<set-variable doc:name="operation" value="#[xpath('fn:local-name(/*)')]" variableName="operation"/>
<choice doc:name="Choice">
<when expression="#[flowVars.operation == 'createEpisode']">
...
</when>
<otherwise>
...
</otherwise>
</choice>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment