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
Open transaction /RTC/TM in SAP
Navigate to SmartChange → IntegrationFramework → Configuration
Select TM Workflow step configuration
Make sure the Filter Query field of the workflow step is empty
Navigate to Long Query in the dialog structure on the left
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.
SAP TM Workflow Step Configuration – Long Query