09.12.2012 Views

webMethods Developer User's Guide - Software AG Documentation

webMethods Developer User's Guide - Software AG Documentation

webMethods Developer User's Guide - Software AG Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Each conditional step<br />

has a label that matches<br />

the value that causes it<br />

to execute.<br />

Branching on a Switch Value<br />

7. Inserting Flow Steps<br />

When you branch on a switch value, you branch on the value of a single variable in the<br />

pipeline.<br />

To branch on a switch value<br />

1 Create a list of the conditional steps (target steps) and make them children of the<br />

BRANCH step.<br />

2 In the Properties panel for the BRANCH step, specify in the Switch property the name<br />

of the pipeline variable whose value will act as the switch. For more information<br />

about this property, see “Specifying the Switch Variable” on page 170.<br />

3 In the Label property of each target step, specify the value that will cause that step to<br />

execute. For more information about this property, see “Specifying the Label Value”<br />

on page 170.<br />

Simple BRANCH step that branches on a switch value<br />

The switch property of<br />

the BRANCH step<br />

specifies the name of<br />

the variable that acts<br />

as the switch.<br />

<strong>webMethods</strong> <strong>Developer</strong> User’s <strong>Guide</strong> Version 6.5, Service Pack 3 � � � 169

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!