Returns the InstanceId of the instance found by an alternative ID initiated previously using the Correlation name and its attributes. It returns an empty String if the instance is not found. For example: // Within the process there is a Correlation named "TechOrder". // The Correlation "TechOrder has 2 properties that build the key: technical order and technical number // In the example below, the local variable "code" contains a "technical code" and numberO contains a "technical number". // Both attributes together give a unique ID for an instance. The variable "instanceId2" will contain the instance ID of the found instance. findInstanceBy Correlation using name = "TechOrder", values = [code, numberO] returning instanceId2 = instanceId
| Name | Type | Description | Mode |
|---|---|---|---|
| name | String | Correlation name | in |
| values | Any[] | array of values with which the instance can be identified | in |