Element details
type: meya.salesforce.cases.component.comment.add
class: SalesforceCasesAddCommentComponent
path: /meya/salesforce/cases/component/comment/add.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 |
comment | The comment text to add to a case. | ◉ | ○ | str | |
case_id | The unique identifier of the case you would like to update.This appears as id on Api responses. | ○ | ○ | null | str |
integration | ◉ | ○ | SalesforceCasesIntegrationRef | ||
Usage reference
Basic
triggers:
- keyword: meya.salesforce.cases.component.comment.add
steps:
- type: meya.salesforce.cases.component.comment.add
comment: STRING
integration: integration.salesforce_cases
Full
triggers:
- keyword: meya.salesforce.cases.component.comment.add
steps:
- type: meya.salesforce.cases.component.comment.add
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
comment: STRING
case_id: STRING
integration: integration.salesforce_cases