Upsert Team or Group Name
Metadata
- Name: Upsert Team or Group Name
- Adaptor:
@openfn/language-salesforce
- Adaptor Version:
v2.7.4
- Created over 3 years ago
- Updated 8 months ago
- Score: 18 (an indicator of how useful this job may be)
Key Functions
dataValue
, field
, fields
, relationship
, upsert
Expression
// Upsert event by unique 'Name'
upsert(
'Event__c',
'CommCare_Case_ID__c',
fields(
field(
'Class_Group_Team__c',
dataValue('form.question_group.group__team_name')
),
relationship('RecordType', 'Name', 'Intervention'),
field(
'CommCare_Case_ID__c',
dataValue('form.case.@case_id')
),
)
);