How to work with complex filter expressions in TM Workflow Step Configuration

How to work with complex filter expressions in TM Workflow Step Configuration

When the standard filter field in the SAP TM Workflow Step Configuration is not sufficient for complex filter expressions, you can use the Long Query section. This allows you to split the filter expression across multiple lines and is available for all supported ITSM integrations.

Available from: SmartChange SP7 HF01 (version 5.7.1.0), for all supported ITSM integrations: Jira, ServiceNow, SmartITSM, Track-It! and Azure DevOps.

How it works: The Long Query is only evaluated if the Filter Query field of the workflow step is empty. If a filter is entered in the Filter Query field, the Long Query is ignored.

Step by step

  1. Open transaction /RTC/TM in SAP

  2. Navigate to SmartChange → IntegrationFramework → Configuration

  3. Select TM Workflow step configuration

  4. Make sure the Filter Query field of the workflow step is empty

  5. Navigate to Long Query in the dialog structure on the left

  6. Enter your filter expression split across multiple lines in the table

Important: When splitting a filter expression across multiple lines, always start each new line with a leading space. The Long Query table concatenates lines without adding a space automatically, which would result in an invalid expression.

image-20260615-084005.png

SAP TM Workflow Step Configuration – Long Query