salesforce.query

type: meya.salesforce.component.query
class: SalesforceQueryComponent
path: /meya/salesforce/component/query.py
signature: -

Fields

field

signature

required

type

default

description               

spec

ForwardRef('Spec')

null

Override the original spec for this element

context

dict

{}

Send context data with this component's event

sensitive

bool

true

triggers

list

[]

Activate these dynamic triggers when the component runs

soql_query

str

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.

integration

SalesforceIntegrationRef

Examples

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: '?'
    context:
      STRING: ANY
    sensitive: false
    triggers:
      - type: STRING
        data:
          STRING: ANY
        timeout: 123
        trigger_when: ANY
    soql_query: STRING
    integration: integration.salesforce