new retrieve(qs, state) → {Operation}
Execute an SOQL query.
Note that in an event of a query error,
error logs will be printed but the operation will not throw the error.
Parameters:
Name | Type | Description |
---|---|---|
qs |
String | A query string. |
state |
State | Runtime state. |
- Source:
Returns:
- Type
- Operation
Example
query(`SELECT Id FROM Patient__c WHERE Health_ID__c = '${state.data.field1}'`);