Using Wildcards in a Parameterized Queries
Comments
-
Adding onto Kenans reply on Parameterized Queries and providing useful documentation as well that you can reference further for the subject:
[url=https://documentation.decisions.com/docs/parameterized-queries]Parameterized Queries[/url]
[url=https://documentation.decisions.com/docs/fetch-entities-criteria-and-sql-equivalence]Fetch Entities Criteria and SQL Equivalence[/url]Both will allow you to use a customizable query to retrieve a result. Fetch entity steps are easier to implement, but will grab the entire object it is querying by default if you ever want to use this option. You can use the contains options on the Fetch Entities step to replicate a simple wildcard like behaviour. Its easy from there to trim down what you may need from your list of results, such as when selecting the list of the object from the flow, selecting First, and then selecting the specific column you wanted to map into a result variable you have in your flow if you only want the first result retrieved from this query. Parametrized SQL queries will of course have the most customization of exactly what you want to get as a result from your query, such as grabbing only a specific column, or if you want a stricter wildcard parameter.
As an extra note, you cannot test parameterized queries within the Query Editor; its meant to be used only for simple queries so you need to test with those two options provided above.
Howdy, Stranger!
Categories
- 4.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions