Portal Community

case/update

Update one or more fields on an existing Salesforce Case record, including Status, Priority, Description, and Resolution.

When to Use

Configuration

Connection

FieldTypeRequiredDescription
InstanceUrlstringrequiredSalesforce org URL.
AccessTokenstringrequiredValid OAuth2 access token.

Operation Fields

FieldTypeRequiredDescription
CaseIdstringrequired18-character Salesforce Case ID.
StatusstringoptionalUpdated case status, e.g. Working, Escalated, Closed.
PrioritystringoptionalUpdated priority: Low, Medium, High.
DescriptionstringoptionalUpdated description or additional diagnostic notes.
ResolutionstringoptionalResolution notes for closed cases.
OwnerIdstringoptionalNew case owner Salesforce User ID.

Sample Configuration

{
  "Resource": "case",
  "Operation": "update",
  "InstanceUrl": "https://myorg.my.salesforce.com",
  "AccessToken": "{{credentials.salesforce.accessToken}}",
  "CaseId": "{{trigger.caseId}}",
  "Status": "Closed",
  "Resolution": "Issue resolved by resetting authentication token on {{trigger.resolvedDate}}"
}

Validation Errors

Error CodeCondition
CFG_MISSING_INSTANCEInstanceUrl is missing.
CFG_MISSING_TOKENAccessToken is missing.
VAL_MISSING_FIELDCaseId is missing.
UNEXPECTED_ERRORUnexpected exception.

Output

Success Port

FieldTypeDescription
statusstringAlways updated.
resourcestringAlways case.
operationstringAlways update.

Error Port

FieldTypeDescription
errorCodestringMachine-readable error code.
messagestringError description.

Sample Output

{ "status": "updated", "resource": "case", "operation": "update" }

Expression Reference

ExpressionDescription
{{nodes.UpdateCase.status}}Operation result.
{{nodes.UpdateCase.errorCode}}Error code from error port.

Node Policies & GuardRails

PolicyDetail
Partial updateOnly provided fields are updated.
Status picklistStatus values must match org picklist entries including Closed if you want to close the case this way.
Downstream triggersStatus changes can trigger Salesforce Entitlement milestones and workflow rules. Test in sandbox.
Error port wiringAlways wire the error port.
Sandbox testingTest in sandbox before production.

Examples

Close Case with Resolution Note

{
  "CaseId": "{{trigger.caseId}}",
  "Status": "Closed",
  "Resolution": "{{trigger.resolutionNote}}"
}

SLA Breach Escalation

// Loop over stalled cases
{
  "CaseId": "{{loop.current.Id}}",
  "Priority": "High",
  "Status": "Escalated",
  "Description": "Auto-escalated due to SLA breach on {{now}}"
}

Reassign on Out-of-Office

{
  "CaseId": "{{loop.current.Id}}",
  "OwnerId": "{{variables.coveringRepSalesforceId}}"
}