/
Oracle HCM Update

Oracle HCM Update

 

In this article

Overview

You can use this Snap to execute the update request in the Oracle HCM instance.

oacle-hcm-update.png

Snap Type

Oracle HCM - Update Snap is a Write-type Snap that update records into Oracle HCM instance

Prerequisites

Valid account with the required permissions.

Support for Ultra Pipelines

Works in Ultra Pipelines.

Snap Views

View Type

View Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

View Type

View Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

  • Min: 0

  • Max: 1

  • Mapper

  • Script

  • Router

Each input document offers details associated with the data that must be posted to the target Oracle HCM instance.

Output

Document

  • Min: 0

  • Max: 1

  • JSON Splitter

  • JSON Formatter

  • Join

Each output document contains details associated with the outcome of the Oracle HCM instance.

If the Snap fails during the operation, it sends an error document to the error view containing the fields error, reason, resolution, and stacktrace. However, you must enable the Error view to view the error document.

Error

Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter while running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:

  • Stop Pipeline Execution: Stops the current pipeline execution when the Snap encounters an error.

  • Discard Error Data and Continue: Ignores the error, discards that record, and continues with the remaining records.

  • Route Error Data to Error View: Routes the error data to an error view without stopping the Snap execution.

Learn more about Error handling in Pipelines.

Snap Settings

  • Expression : JavaScript syntax to access SnapLogic Expressions to set field values dynamically (if enabled). If disabled, you can provide a static value. Learn more.

  • SnapGPT : Generates SnapLogic Expressions based on natural language using SnapGPT. Learn more.

  • Suggestion : Populates a list of values dynamically based on your Account configuration.

  • Upload : Uploads files. Learn more.

Learn more about the icons in the Snap Settings dialog.

Field Name

Field Type

Description

Label*

 

Default Value: Oracle HCM Update
ExampleUpdate workers

String

Specify a unique name for the Snap.

 

Version*

 

Default Value: N/A
Example11.13.18.05

String/Expression/Suggestion

Specify the Oracle HCM instance version. The suggestion list retrieves all available versions.

 

Resources name

 

Default Value: N/A
Example: workers, absences, elementEntries,

String/Expression

Specify the Oracle HCM resources (Tasks). The suggestions list retrieves all available resources based on the selected version.

 

Endpoint*

 

Default Value: N/A
Example: /workers

String/Expression

Specify the Oracle HCM endpoint. The suggestions list retrieves all available endpoints based on selected resource. For example if “worker” resource is selected, the suggestions populated are:

  • /workers

  • /workers/{id}

  • /workers/{id}/child/addresses/{id}

For expressions, the strings must be enclosed in double quotes, {id} should be replaced with valid variable names.

  • “/workers”

  • “/workers/” + $id

  • “/workers/” + $worker_id + “/child/addresses/” + $address_id

For variable names passed from pipeline parameter:

  • “/workers/” + _id

  • “/workers/” + _worker_id + “/child/addresses/” + _address_id

Entity

 

Default Value: $  
(the HTTP entity data is at the root of the input Map data)
Example$.entity 
(if the HTTP entity data is the value of the "entity" key at the root of the input Map data)

String/Expression

Specify the JSON path to the HTTP entity data in the input map data. You can leave this field blank if there is no entity data to send to the service URL.

Query parameters

Use this field set to add query parameters to your request. 

Query parameter

 

Default ValueN/A
Example: id

String

The name of the query parameter.

Query parameter value

 

Default Value: N/A
Example$widget.id

String/Expression

The value that you want to assign to the parameter.

Header parameters

Use this field set to create the HTTP header key-value pairs.

Header parameter

 

Default ValueN/A
Example: content-type

String

The name of the HTTP header.

Header parameter value

 

Default Value: N/A
Exampleapplication/json

String/Expression

The value that you want to assign to the HTTP header.

Snap Execution

 

Default ValueExecute only
ExampleValidate & Execute

Dropdown list

Select one of the following three modes in which the Snap executes:

  • Validate & Execute: Performs limited execution of the Snap, and generates a data preview during Pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during Pipeline runtime.

  • Execute only: Performs full execution of the Snap during Pipeline execution without generating preview data.

  • Disabled: Disables the Snap and all Snaps that are downstream from it.

  File Modified
No files shared here yet.

Snap Pack History

Oracle HCM

Related Content