Update Change

freshservice.update_change
ActionBusiness appsconnection required

Calls the Freshservice API with the connection's credentials.

Change the attributes of an existing Freshservice change request.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Freshservice
Secret shape
the API key, or {"api_key": "…"}
Config it needs
domain, workspace_id
Resolved by
config.connection_id, else node.connection_id

Configuration

14 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
change_id
The Freshservice change request to act on, by its numeric id.
stringYes——1
subject
Subject line of the record.
stringNo——Unable to reach the email server
description
Body of the record; Freshservice stores and renders it as HTML.
stringNo———
priority
Priority: 1 Low, 2 Medium, 3 High, 4 Urgent.
numberNo—1–42
status
Change status: 1 Open, 2 Planning, 3 Approval, 4 Pending Release, 5 Pending Review, 6 Closed.
numberNo—1–6—
impact
Impact: 1 Low, 2 Medium, 3 High.
numberNo—1–3—
risk
Risk of the change: 1 Low, 2 Medium, 3 High, 4 Very High.
numberNo—1–4—
change_type
Type of the change: 1 Minor, 2 Standard, 3 Major, 4 Emergency.
numberNo—1–4—
planned_start_date
Planned start, as a UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).
stringNo—iso8601 format—
planned_end_date
Planned end, as a UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).
stringNo—iso8601 format—
agent_id
Numeric id of the agent the record is assigned to.
stringNo———
group_id
Numeric id of the agent group the record is assigned to.
stringNo———
custom_fields
Custom field values as a JSON object keyed by the field's Freshservice name.
objectNo———
attributes
Any other documented attribute for this record, as a JSON object merged into the request.
objectNo———
  • At least one of subject, description, priority, status, impact, risk, change_type, planned_start_date, planned_end_date, agent_id, group_id, custom_fields, attributes must be set.

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "change_id": "1",
  "priority": 2,
  "subject": "Unable to reach the email server"
}

Output

One shape.

result

FieldTypeExample
id
Numeric id of the change request.
number—
subject
Subject line of the change.
string—
status
Status, 1 Open through 6 Closed.
number—
priority
Priority: 1 Low, 2 Medium, 3 High, 4 Urgent.
number—
impact
Impact: 1 Low, 2 Medium, 3 High.
number—
risk
Risk: 1 Low, 2 Medium, 3 High, 4 Very High.
number—
change_type
Type: 1 Minor, 2 Standard, 3 Major, 4 Emergency.
number—
approval_status
Where the change stands in its approval workflow.
number—
requester_id
User id of whoever raised the change.
number—
agent_id
User id of the agent the change is assigned to.
number—
group_id
Id of the agent group the change is assigned to.
number—
planned_start_date
When the change is planned to start.
string—
planned_end_date
When the change is planned to end.
string—
workspace_id
Workspace the change belongs to.
number—
created_at
When the change was created.
string—
updated_at
When the change was last updated.
string—
{
  "agent_id": 0,
  "approval_status": 0,
  "change_type": 0,
  "created_at": "",
  "group_id": 0,
  "id": 0,
  "impact": 0,
  "planned_end_date": "",
  "planned_start_date": "",
  "priority": 0,
  "requester_id": 0,
  "risk": 0,
  "status": 0,
  "subject": "",
  "updated_at": "",
  "workspace_id": 0
}

Notes

  • The workspace of a change cannot be changed here; Freshservice has a separate move operation for that.

See Update Change run in a workflow.

In a technical demo we add the Freshservice connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.