PATCH - PATCH - The PATCH action sends an HTTP PATCH request to a REST service. - Content Innovation Cloud - Hyland Automate Modeler - Current/Hyland-Automate-Modeler/nak1677156904501 - Current - Current

Hyland Automate Modeler

Platform
Content Innovation Cloud
Product
Hyland Automate Modeler
Release
Current
License
ft:lastPublication
2026-11-02T23:02:36.222215
ft:locale
en-US

The PATCH action sends an HTTP PATCH request to a REST service.

Use the PATCH action to update specific fields of an existing resource without replacing the entire resource. Unlike a PUT request, which typically sends the full resource representation, a PATCH request sends only the values that need to be changed.

PATCH requests are commonly used when updating a small portion of a resource or modifying selected properties in an external system.

Use the PATCH action when you need to:

  • Update one or more fields of an existing resource.
  • Modify resource properties without replacing the entire object.
  • Change document metadata.
  • Update status values or business attributes.
  • Reduce the amount of data sent to an external service.

A PATCH request sends update information to an existing resource. The request can include URL parameters, request headers, and a request body containing the values to update. The REST service applies the changes and returns a response that may contain the updated resource data, HTTP status code, and response headers. The returned values can be mapped to process variables and used elsewhere in the process.

The input parameters for PATCH are:

Parameter Type Required Description
restUrl String Required The URL of the REST service endpoint to call, including the protocol and resource path. For example: http://hyland.com
restUrlParams JSON Optional A JSON object containing query parameter names and values to append to the request URL. Use this property to pass values such as filters, search criteria, or identifiers. For example:
{
"status": "active",
"page": "1",
"pageSize": "50"
}
restUrlEncoded Boolean Optional Specifies whether the URL should be URL-encoded before the request is sent. Enable this option when the URL contains special characters that require encoding.
requestHeaders JSON Optional

A JSON object containing request header names and values. Headers can be used to provide authentication information, specify content types, or include additional request metadata. Values can be fixed values or process variables.

The available request headers are defined in the API documentation for the endpoint that REST is calling.

requestPayload JSON Optional

The body of the request. You can choose from the following options:

  • raw, which allows you to edit the JSON file and manually enter the needed properties

  • form-data, which allows you to edit a list of properties, each of which has its own key, type, and value.

    When this option is selected, an Automatic file type recognition checkbox appears and is enabled by default. When checked, the system will automatically recognize the file type and share this information to the receiving system. When enabled, the system automatically detects the appropriate Content-Type based on the file extension of the uploaded content. For example, when a process variable references a file with a .png extension, the Content-Type for that file part is automatically set to image/png. If the system cannot determine the file type, it falls back to application/octet-stream.

    To specify a custom Content-Type value, toggle off the Automatic file type recognition option. This reveals a free text field where you can enter any valid MIME type. Use this option when the API requires a non-standard or specialized content type variant, or if the target API expects a specific MIME type that differs from what auto-detection would assign.

  • binary, which allows you to select a process variable from a drop-down menu

    When this option is selected, an Automatic file type recognition checkbox appears. When checked, the system will automatically recognize the file type and share this information to the receiving system. Otherwise, the file will be classified as general (.bin).

The downstream application validates Content-Type strictly and rejects requests with generic or mismatched types.

The pre-selected option depends on the requestHeaders value.

circuitBreaker Boolean Optional Enables or disables circuit breaker protection for the request. When enabled, the connector can prevent repeated calls to an unavailable service and help improve process resilience.
timeout Integer Optional

The timeout period to wait for the service in milliseconds. The default timeout is 30 000.

The output parameters from PATCH are:

Parameter Type Required Description
restResult JSON Optional The response data returned by the REST service. The format and contents depend on the endpoint being called and can be mapped to process variables for use elsewhere in the process.
restStatus Integer Optional The HTTP status code returned by the REST service. Use this value to determine whether the request completed successfully and to support conditional process routing or error handling.
responseHeaders JSON Optional The HTTP response headers returned by the REST service. Response headers contain metadata about the response, such as content type, caching information, security policies, and resource details.