Upsert Intervention Notes
Metadata
- Name: Upsert Intervention Notes
- Adaptor:
@openfn/language-salesforce
- Adaptor Version:
v2.7.4
- Created over 3 years ago
- Updated almost 3 years ago
- Score: 78 (an indicator of how useful this job may be)
Key Functions
dataValue
, field
, fields
, relationship
, upsert
Expression
//openfn.org source
upsert(
'Event__c',
'CommCare_Case_ID__c',
fields(
field('CommCare_Case_ID__c', dataValue('form.case.@case_id')),
//field('Name', dataValue('form.intervention_name')),
field('Notes__c', dataValue('form.intervention_notes_to_save')),
relationship('RecordType', 'Name', 'Intervention')
)
);