You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.
The DCM_CaseSearch service is used to search for specific cases, for example related cases to the current one based on some condition. A list of search criteria can be set as input and and the service returns one or multiple case IDs as output. Process data, case data, case metadata and dossier metadata can be used to search for cases, each with their own properties. It's required to specify the case aggregate if 'case metadata' is added as a criteria entry. Also, there is an option to set the maximum amount of results. The output parameter, the attribute which will contain the case IDs, can either be single or multivalued. The DCM Lists Service will be used as the source for case data.
Parameters
Parameter | Direction | Value | Description | Required |
---|---|---|---|---|
Case aggregate | Input | Module element Aggregate | Select the case aggregate type to search. This is only required if a search criteria entry of type 'case metadata' exists. | False |
Target attribute for case id(s) | Output | Entity | Select an attribute of the target entity on which attribute you want to store the found case Id(s). | True |
Maximum results | Input | Integer | The maximum number of results, the system will stop after reaching this number. | False |
Search criteria | Input | List of search criteria. | See "Search Criteria". | True |
Search Criteria
Data
Select an entity/attribute from the process profile to filter on.
Case data
Select a data field from the case aggregate to filter on.
Case metadata
Select a metadata field from the case aggregate to filter on.
Dossier metadata
Select a metadata field from the dossier aggregate to filter on. The field property is not validated against a list of possible metadata fields as, most of the time, the dossier aggregate is not in scope where the service is used.
Filter
The search criteria all adhere to the pattern <type><properties><operator><value>. The value can be single or multi, depending on the operator. See the list below.
Operator | Used with metadata of type | Value can be |
---|---|---|
Equals | All single-valued datatypes | Single value |
Not equals | All single-valued datatypes | Single value |
Less than | All single-valued datatypes | Single value |
Less than or equals | All single-valued datatypes | Single value |
Greater than | All single-valued datatypes | Single value |
Greater than or equals | All single-valued datatypes | Single value |
Like | String | Single value |
Not like | String | Single value |
In | All multivalued datatypes | Multivalued |
Not in | All multivalued datatypes | Multivalued |