Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
minLevel1
maxLevel2
absoluteUrltrue

Overview

Use You can use this Snap to retrieve data object objects from SuccessFactors Data Center. The Snap provides the ability to read the navigation property by expanding the navigation level. Learn more about SuccessFactors APIs: SuccessFactors Documentation.

Snap Type

SuccessFactors Read Advanced is Read-type Snap that

Prerequisites

  • Valid SuccessFactors Host server.

  • Valid User Id.

  • Valid Password.

Support for Ultra Pipelines

Works in Ultra Pipelines

Limitations and Known Issues

None.

Snap Views

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

  • Min: 0

  • Max: 1

  • Mapper Snap

  • Copy Snap

  • CSV Parser

  • JSON Parser

A document containing data that can be used to filter entities that need to be retrieved in SuccessFactors. 

Output

Document

  • Min: 1

  • Max: 1

  • Mapper Snap

  • Copy Snap

  • XML Formatter

  • JSON Formatter

A document containing the data retrieved from a SuccessFactors entity.

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 when 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 if 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

Info
  • Asterisk ( * ): Indicates a mandatory field.

  • Suggestion icon ((blue star)): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon ((blue star) ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( (blue star) ): Indicates that you can add fields in the fieldset.

  • Remove icon ( (blue star)): Indicates that you can remove fields from the fieldset.

  • Upload icon ((blue star) ): Indicates that you can upload files.

Field Name

Field Type

Field Dependency

Description

Label*

Default Value

Example 

Label

String

Required. The

: SuccessFactors Read Advanced
Example: SuccessFactors Read Advanced

String

N/A

Specify 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.

Entity*


Default Value: N/A
Example: Foundation/Platform (PLT) – User or User

String/Expression

N/A

Entity

String

Required. This property enables you to select

Specify a business object from the list of business objects for SuccessFactors API. SuccessFactors stores data in multiple table structures, which are commonly known as Entities, there are various entities for Foundation as well as Personal/Employment Objects. This field will be shown dynamically from different users’ accounts from the suggestion dropdown.

Users are allowed either to choose an entity from suggestion dropdown or type an entity manually. The entity is shown as [category name] – [entity name] in the dropdown. But it is also allowed to type only [entity name] in this field.

Query Type


Default Value: N/A

Foundation/Platform (PLT) – User or User

Query Type

String

Example:

Dropdown list

N/A

Specify the query type.

Options available

Available options include:

  • Expand

  • Custom Query

N/A

N/A

Expand Level

Integer

Expand Level

Default Value: 0
Example: 1

Dropdown list

The field is only available if the Query Type is selected as Expand.

Specify the sublevel of the business object you want to access. The business object would be expanded until the sublevel selected.

Option available

0

Available options include:

  • 0

  • 1

  • 2

The filed is only available if the query type is selected as 'Expand'.

Query


Default Value: N/A

Query

Example:

String

Specify the custom query 

The

filed

field is only available if the

query type

Query Type is selected as

'

Custom Query

'

.

N/A

N/A

Specify the custom query. 

Key parameter

Fieldset

This property enables you

Use this fieldset to specify the key fields to a specific entity such as userId for the Foundation/Platform (PLT) – User entity.

Field name

Default Value: N/A
Example:

String

N/A

Field name

String

Specify the names of key Parameter (reference parameter) fields.

Field value

Default Value: N/A

userIdAny

Example:

Field value

Any

N/A

Specify the values of key Parameter (reference parameter) fields. The data type of this field depends on what Field name you selected or entered which can be String, Integer, Boolean, etc.

N/A

test_id

This property enables you

URL parameters

Fieldset

Use this fieldset to specify the names and values of the URL parameters.

The filed

This fieldset is only available if the

query type

Query Type is selected as

'

Expand

'.N/A

.

Parameter name

Default Value: fromDate
Example: fromDate

String

N/A

Parameter name

String

Any

Specify the names of the URL parameters.

fromDate

fromDate

Parameter value

Parameter value

Default Value: N/A
Example: 2020-01-01

Any

N/A

Specify the values for service operation fields. The data type of this field depends on what Field name you selected or entered which can be String, Integer, Boolean, etc.

N/A

2020-01-01

This property enables you

Filter records

Fieldset

Use this fieldset to filter the results from the API response based on the customer-selected fields.

The

filed

field is only available if the

query type

Query Type is selected as

'

Expand

'

.

Field name

Default Value: N/A
Example: userId

String/Expression/Suggestion

N/A

Field name

String

Specify the system parameter $filter fields to be included in the output.

Operation

Default Value:
Example: Equals

Dropdown list

N/A

userId

Operation

String

Specify the comparison operator for the system parameter $filter.

Equals

Equals

Field value

Any

Available options include:

Field value

Default Value: N/A
Example: test123

String/Expression

N/A

Enter the values of specified input $filter fields. The data type of this field depends on what Field name you selected or entered which can be String, Integer, Boolean, etc.

Condition

Default Value:
Example: Or

Dropdown list

N/A

test123

Condition

String

Specify the logical operator for the system parameter $filter.

Or

Or

This property enables you

Available options include:

Output field selection

String

Use this fieldset to select fields to be included in the output. If not selected, all fields will be returned.

Element

Default Value: N/A
Example: userId, country

String/Expression/Suggestion

N/A

Specify the fields that will be displayed by descending or ascending order.

Order by

Fieldset

This property enables you

Use this fieldset to order the resulting records based on specified elements. The order types to be selected are either ascending or descending.

The

filed

field is only available if the

query type

Query Type is selected as

'

Expand

'

Element

String

Specify the fields that will be displayed by descending or ascending order.

N/A

country

Order by type

String

.

N/A

N/A

Order by type

Default Value: ascending
Example: descending

String

N/A

Specify the Order Type (Ascending or Descending order).

Ascending

descending

Output fields advanced options

N/A

The field is only available if the Query Type is selected as Expand.

Add advanced options to define the limited number of output entries from a specific starting entry index.

The filed is only available if the query type is selected as 'Expand'.

Output entry limit


Default Value: N/A
Example: 10

Integer

N/A

Output entry limit

Integer

Integer

Add advanced options to define the limited number of output entries from a specific starting entry index.

Output entry offset

Default Value: N/A
Example: 10

Output entry    offset

String

Integer

N/A

This property enables you to skip the number of records the query should return.

N/A

10

Automatic pagination

Deselected

Automatic pagination

Default Value: Deselected

Checkbox

The field is only available if the Query Type is selected as Expand.

By default, SuccessFactors returns a maximum of 1000 records per page. If this field is selected, all matching records will be automatically returned (beyond the 1000 records).

Note that if the field “Automatic pagination” is selected, then the field “Output entry limit” should not be set or used. Either keep the field “Output entry limit”, or check the “Automatic pagination”. In case both are used, a validation exception will be thrown.

The filed is only available if the query type is selected as 'Expand'.

Allow empty query result

Default Value: Selected

Checkbox

N/A

Allow empty query result

Checkbox

This property enables you to determine if the empty result will be shown in the output views. If not selected, an error will be thrown when the empty result is found.

Selected

Refresh metadata

Default Value: Deselected

Checkbox

N/A

Refresh metadata

Checkbox

If selected, the Snap will refresh the cache and show refreshed metadata results including new entities/parameters added or old entities/parameters deleted. This is handy in cases where changes are made to the data set outside of SnapLogic, such as a new data set created, existing data set deleted, and so on. In such cases, enabling this property will refresh the cache and display updated content. Please be aware that after the first run and new metadata has been refreshed, please de-select this checkbox.

Deselected

Pass through

Default Value: Selected

Checkbox

N/A

Pass through

Checkbox

This property enables you to "pass through" the data from an incoming document and merge it into the new document being written to the output. If selected, the input document will be passed through to the output view under the key 'original'.

Selected

N/A

Connection details

Configure the connection details.

Connection

timeout

timeout*

Default Value: 300
Example: 100

Integer

N/A

Required.

This property enables you to set the connection timeout duration of seconds

300

N/A

Number of

retries

retries*

Default Value: 3
Example: 2

Integer

Required.

N/A

This property enables you to set the maximum number of re-connections if the connection is failed or timeout.

3

N/A

Retry interval

(seconds)*

Default Value: 1
Example: 3

Integer

N/A

Required.

This property enables you to set the interval in seconds between reconnections.

1N/A

Snap Execution


Default Value: Validate & Execute
Example: Execute Only

Dropdown list

N/A

Snap Execution

Dropdown list

Controls whether or not a snap executes. 

Validate & Execute

Select one of the three modes in which the Snap executes. Available options are:

  • 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.

Troubleshooting

Error

Reason

Resolution

You have an empty value in the Key/Value field.

key/value parameters must not be empty.

Please enter a valid value for key/value parameters.

The input entity does not exist.

An invalid entity has been entered.

Please click the suggestion dropdown button and select the entity.

The fields "Automatic pagination" and "Output entry limit" cannot be used at the same time.

"Output entry limit" cannot be implemented together with "Automatic pagination".

Please either select the "Automatic pagination" or fill the "Output entry limit" field

Empty result found.

There is no data coming back from the API call

Please enable the "Allow empty query result" checkbox.

<Entity> with key (‘<key>’) not found!

The input key parameters entered for a specific entity is not existing in the system. 

Please check your input key parameters and change the key parameters to existing ones. 

Examples

Retrieve Per Person information from the SuccessFactors data center

The SuccessFactors Read Advance Snap is used to retrieve the PerPerson data from SuccessFactors. The example assumes that you have configured & authorized a valid SuccessFactors Account (see SuccessFactors Account). The following Successfactors_Read_Advance_Expand_Demo pipeline shows how you can use the SuccessFactors Read Advance Snap This example pipeline demonstrates how to read PerPerson data via Employee Central (EC) - PerPerson API PerPerson API entity in the Success Factors data center. The example assumes that you have configured and authorized a valid SuccessFactors Account. T. The PerPerson entity is expanded until 2 the second navigation level.

View file
nameInvalid file id - 0826f7d8-d548-48a4-9c7a-27fbf45dedb9

...

Step 1: Configure the SuccessFactors Read Advanced Snapfor this example is as shown below:

...

A successful validation or execution of . Upon validation, the Snap gives displays the following output preview, showing the query results.

...

...

SuccessFactors Read Advanced Snap Configuration

Output

Image Added

Image Added

Step 2: Connect a Mapper Snap, JSON Formatter Snap, and File Writer Snap are applied to format and save the returned data in a new file. The configuration of the File Writer is shown below.

...

...

Downloads

Info
  1. Download and import the Pipeline into SnapLogic.

  2. Configure Snap accounts, as applicable.

  3. Provide Pipeline parameters, as applicable.

Attachments
patterns*.slp, *.zip
sortByname

Snap Pack History

...

titleClick here to expand...

Insert excerpt
SAP SuccessFactors Snap Pack
SAP SuccessFactors Snap Pack
nameSAP_SuccessFactors_SP
nopaneltrue

...

Related Content

...