Creating event filters

* New for 9.5 *

Event filters are based on the information in the event data. Both event data and event message data can be saved as process data.

Create event filters for event catches, receives, and start points to specify the conditions under which the event is acted on when the event occurs. An event filter specifies criteria on event data or event message data. An event filter can one or more filter expressions and all expressions must evaluate to True for an event to be acted on.

Note: If no filters are created for an event, the event is always acted on.

Event filters consist of expressions in the following form:

expression1 operator expression2
  • expression1 is an XPath expression that evaluates to a filter key or a value in the process data tree.

  • operator is an arithmetic operator that you choose.

  • expression2 is an XPath expression that evaluates to a literal value or a value in the process data tree.

In the following example event filter, if the creditscore filter key contains a value greater than 800 , the filter resolves to True :

/data/applicants/Applicant/creditscore > 800

Add event filters

* New for 9.5 *

  1. If you are modifying an existing event receive, right-click an event receive and select Event Properties, otherwise, proceed to step 2.

  2. In the Event Filter tab, click Add the button.

  3. Click the ellipsis  button beside the Event Filter box.

  4. In the Map Event Content dialog box, expand the element under in the Event Data pane.

  5. Double-click the element representing the event data you want to send and click OK.

  6. In the Operator list, select an operator to specify the condition to use. For example, select the greater than (>) symbol to specify when your event data exceeds the value you configure in the Event Data box.

  7. In the Event Data Value, you can select whether to assign the event data as a literal or XPath value:

    • LITERAL: In the Event Data box, type the value you want to assign to the event data.

    • XPATH: Click the ellipsis button beside the Event Data Value box. In the Asynchronous Event Throw Configuration dialog box, create the XPath expression and click OK.

  8. Click OK.

  9. (Optional) Repeat steps 2 – 8 to add additional filters and click OK.

Edit an event filter

* New for 9.5 *

  1. If you are modifying an existing event receive, right-click an event receive and select Event Properties, otherwise, proceed to step 2.

  2. In the Event Filter tab, select an event filter and click the Edit button.

  3. In the Map Data dialog box, modify the values for the Event Filter, Operator, and Event Data Value boxes, and click OK.

  4. Repate steps 2-3 as necessary and click OK.

Delete an event filter

* New for 9.5 *

  1. If you are modifying an existing event receive, right-click an event receive and select Event Properties, otherwise, proceed to step 2.

  2. In the Event Filter tab, select an event filter and click the Remove button.

  3. Repeat step 2 as necessary and click OK.

// Ethnio survey code removed