We are trying to pass a list of ID's (from output node) into an "Input" Node for Salesforce query. We are getting an error stating:
Tried:
SELECT
ACCOUNTID
,FIRSTNAME, PHONE
FROM CONTACT
where ACCOUNTID = 'ID'
Error: Execution ErrorError occurred during executing request: where ACCOUNTID = 'ID' ^ ERROR at Row:12:Column:7 invalid ID field: ID Record number: 1.
Tried:
SELECT
ACCOUNTID
,FIRSTNAME, PHONE
FROM CONTACT
where ACCOUNTID = '{ID}'
Error occurred during executing request: where ACCOUNTID = '{ID}' ^ ERROR at Row:12:Column:7 invalid ID field: {ID} Record number: 1.
Tried:
SELECT
ACCOUNTID
,FIRSTNAME, PHONE
FROM CONTACT
where ACCOUNTID IN{ID}
Execution ErrorError occurred during executing request: where ACCOUNTID IN{ID} ^ ERROR at Row:12:Column:18 Bind variables only allowed in Apex code Record number: 1.
This is a Salesforce query. Direct queries to database we have no issues. Is there a specific syntax for Salesforce queries when passing an input field?