Element details
type: meya.salesforce.component.query
class: SalesforceQueryComponent
path: /meya/salesforce/component/query.py
signature: -
Fields
field | description | required | signature | default | type |
---|---|---|---|---|---|
spec | Override the original spec for this element. | ○ | ○ | null | Spec |
context | Send context data with this component's event. | ○ | ○ | {} | dict |
sensitive | ○ | ○ | true | bool | |
triggers | Activate these dynamic triggers when the component runs. Check the component triggers guide for more info. | ○ | ○ | [] | list |
soql_query | Salesforce Object Query Language (SOQL) query string. Check https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql.htm for more details. | ◉ | ○ | str | |
integration | ◉ | ○ | SalesforceIntegrationRef | ||
Usage reference
Basic
triggers:
- keyword: meya.salesforce.component.query
steps:
- type: meya.salesforce.component.query
soql_query: STRING
integration: integration.salesforce
Full
triggers:
- keyword: meya.salesforce.component.query
steps:
- type: meya.salesforce.component.query
spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
context:
STRING: ANY
sensitive: false
triggers:
- type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
soql_query: STRING
integration: integration.salesforce