Learn how to put your digital team to work with MuleSoft for Agentforce.
Contact Us 1-800-596-4880

Setting Conditional Breakpoints

A Conditional Breakpoint is a type of breakpoint that activates when a predefined condition evaluates to true when Studio executes the Event Processor with the breakpoint. You define the condition using a DataWeave expression.

  1. Click the breakpoint in the Mule Breakpoints View to select it.

  2. Check Conditional at the bottom of the Mule Breakpoints View.

  3. Enter the condition that must be met for the breakpoint to be activated.

For example, the following expression activates the breakpoint if the value of message property Method is GET:

#[message.inboundProperties['Method']=='REST']
text