SuccessFactors Upsert

SuccessFactors Upsert

In this article

Overview

Use this Snap to update or insert data objects from the SuccessFactors Data Center. The Snap automatically inserts the data in case the records are not available. For more information about SuccessFactors APIs, refer to SuccessFactors Documentation.

Prerequisites

  • A valid SuccessFactors host server.
  • A valid account with the roles required to perform the Upsert operation on the selected entity.

Supported Features

See Snap Support for Ultra Pipelines.

Limitations and Known Issues

None.

Snap Input and Output

Input/OutputType of ViewNumber of ViewsExamples of Upstream and Downstream SnapsDescription
Input 

Document

  • Min:1
  • Max:1
  • Mapper
  • Copy
  • CSV Parser
  • JSON Parser

A document containing the data that must be created or updated, and has to be written into the SuccessFactors Data Center for the selected entity.


Output

Document

  • Min:0
  • Max:1
  • Mapper
  • Copy
  • CSV Parser
  • JSON Parser

A document containing the status data for each record in the batch input to confirm whether the data creation or update was successful. 


Snap Settings

Parameter NameData TypeDescriptionDefault ValueExample 

Label

String

Required. The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline.

N/A

N/A

Entity

String

Required. Lets you define an entity of the API.  You can either choose an entity from the suggestion drop-down or type an entity manually. The values in the suggestion drop-down are displayed dynamically from different users’ accounts.

The entity is shown as [category name] – [entity name] in the drop-down; however, you can also type just the [entity name] in this field.

N/A

Foundation/Platform (PLT) User or User


Batch size

Integer

Required. This property value is allowed to be from 1 through 10,000. Each input document forms one SuccessFactors record to be upserted. The Snap stores record in memory until the number of records reaches the batch size and sends the request to SuccessFactors in a single batch. Increasing the batch size increases the amount of memory used during the data load. Decreasing the batch size increases the number of API calls against SuccessFactors.

200

200, 1000

Refresh metadata

Check box

If selected, the Snap refreshes the cache and shows the refreshed metadata results including any entities/parameters that were added or deleted. This is useful in cases where changes are made to the dataset outside of SnapLogic, such as when a dataset has been created or deleted, or when there are changes in the metadata of SuccessFactors. 

After the first run and after the metadata has been refreshed, please deselect this checkbox.

Deselected

N/A

Loading

Check box

Loading

Execute only

N/A

For more information about the OData based API, see OData Version 4.0 Documentation.

Troubleshooting

ErrorReasonResolution

The input entity does not exist.

An invalid entity has been entered.

Click the suggestion drop-down in the Entity field and select the entity.

Examples

Creating New User Data or Updating Existing User Data in SuccessFactors Data Center

The example shows how you can use the SuccessFactors Upsert Snap to create new users and update data for existing users via the Foundation/Platform (PLT) - User API entity in the Success Factors Data Center. It assumes that you have configured and authorized a valid SuccessFactors Account (see SuccessFactors Basic Auth Account). 

In the Pipeline above, data of new users in JSON format is generated using the /wiki/spaces/AP/pages/1438291

The JSON data is mapped to the SuccessFactors Upsert Snap using the /wiki/spaces/AP/pages/1438286.

The input schema is provided by the SuccessFactors Upsert Snap. In the following configuration of the SuccessFactors Upsert Snap, the batch size is set to 3.

Successful validation of the Snap gives the following output preview, where the user ID from the source data is mapped to the key in the output response and a status of "OK" indicates a successful update operation.

Finally, an XML Formatter Snap and a File Writer Snap are added downstream to format and save the returned data in a new file. In the image below, the output is written to the SuccessFactors_Upsert.xml file. 

You can view the newly-created file in the target directory using SSH.

Download this Pipeline. 

Downloads

Important steps to successfully reuse Pipelines

  1. Download and import the Pipeline into SnapLogic.
  2. Configure Snap accounts as applicable.
  3. Furnish Pipeline parameters as applicable.

  File Modified

File SuccessFactors_1.0.0_Upsert_User_Example.slp

Apr 23, 2020 by Ritu Sachdeva

Snap Pack History

 Click here to expand...

Release

Snap Pack Version 

Date

Type

Updates

November 2025

main215

Stable

Updated and certified against the current SnapLogic Platform release.

August 2025

main203

Stable

Updated and certified against the current SnapLogic Platform release.

May 2025

main195

 

Latest

Fixed an issue with the SuccessFactors Read Advanced Snap, which didn’t retrieve linked entities when using the Expand Query Type.

May 2025

main194

Stable

Updated and certified against the current SnapLogic Platform release.

February 2025

main192

 

Stable

Updated and certified against the current SnapLogic Platform release.

November 2024

main182

 

Stable

Updated and certified against the current SnapLogic Platform release.

August 2024

main181

 

Latest

Enhanced the SuccessFactors Read and Read Advanced Snaps to handle empty responses.

August 2024

main180

 


Stable

Updated and certified against the current SnapLogic Platform release.

May 2024

main172

 

Stable

Updated and certified against the current SnapLogic Platform release.

February 2024

main168

 

Stable

Updated and certified against the current SnapLogic Platform release.

November 2023

main155

 

Stable

Updated and certified against the current SnapLogic Platform release.

August 2023

main150

 

Latest

Fixed an issue with the OAuth 2.0 account that was causing it to reload.

August 2023

main138

 

Stable

Updated and certified against the current SnapLogic Platform release.

May 2023

main137

 

Latest

Introduced the SAP SuccessFactors Read Advanced Snap, which enables you to read objects recursively for objects containing links to traverse through the tree structure. 

May 2023

main130

 

Stable

Upgraded with the latest SnapLogic Platform release.

February 2023

main114

 

Stable

Upgraded with the latest SnapLogic Platform release.

November 2022

main113

 

Stable

Upgraded with the latest SnapLogic Platform release.

August 2022

main111

 

Stable

Upgraded with the latest SnapLogic Platform release.

4.29

main108

 

Stable

Upgraded with the latest SnapLogic Platform release.

4.28

main100

 

Stable

Added a new account type SuccessFactors OAuth2 that enables OAuth2 authentication for all the SuccessFactors Snaps.

4.27

main12283 

 

Stable

Upgraded with the latest SnapLogic Platform release.

4.26

main88

 

Stable

Upgraded with the latest SnapLogic Platform release.

4.25

main73

 

Stable

No updates made.

4.24

main73

Stable

No updates made.

4.23

main73

 

Stable

No updates made.

4.22

main6403

 

Stable

[Docs Update] Adds a use case to automate asset management by integrating SAP SuccessFactors with ServiceNow.

4.21

snapsmrc542

 

Stable

No updates made.

4.20

snapsmrc535


Stable

Initial release (September 2019).


See Also