Designer 10.7 | webMethods Service Development Help | Debugging Flow Services | Disabling and Enabling Flow Steps and Transformers
 
Disabling and Enabling Flow Steps and Transformers
As part of debugging services, you can disable flow steps and transformers. Disabled flow steps and transformers do not execute. Disabling a step or transformer is useful in many debugging situations. For example, you might want to disable one or more steps to isolate a particular segment of a flow, similar to the way you might “comment out” a section of source code in a program you are debugging.
Keep the following points in mind when disabling and enabling flow steps and transformers:
*Disabling a step or transformer sets a persistent attribute that is saved in the flow service. Once you disable a step or transformer, it remains disabled until you explicitly re-enable it with Designer.
*Steps and transformers that you disable are not executed at run time.
*The symbol appears next to disabled steps and transformers.
*If you disable a parent step (for example, a LOOP or a BRANCH), Designer disables its children automatically.
*If you disable a MAP step, Designer disables the transformers in the MAP step automatically.
*Disabling a step or transformer removes a breakpoint hosted by that step or transformer.
*Disabling a TRY step causes any associated sibling CATCH and/or FINALLY steps to be ignored.
Important:
The run-time effect of disabling a step is the same as deleting it. Disabling a key step or forgetting to re-enable a disabled step or transformer can break the logic of a service and/or cause the service to fail. Designer allows you to disable any step or transformer in a flow service, but it is your responsibility to use this feature carefully.
*To disable or enable a flow step or transformer
1. Open the flow service that you want to edit.
2. Do one of the following:
*In the editor select the step that you want disable or enable.
*In the editor select the MAP step containing transformers that you want to disable or enable.
3. Right-click the step or transformer and do one of the following:
*Select Disable Step to disable the step or transformer.
*Select Enable Step to re-enable the step or transformer.