cancel
Showing results for 
Search instead for 
Did you mean: 

Read custom fields with SCIM API V2

MarcoDebattisti
Participant
0 Kudos
163

Hello Community,

we rcently migrated IAS from API V1 to SCIM API V2 and we have custom transformations that do not work anymore.

We used to read 2 custom fields in the Source transformations and then we added conditions in the Target transformations, but it seems that the custom fields are not read anymore.

How can we read custom fields with SCIM API V2?

in the Source transformation we added this:

{
"sourcePath": "$['urn:ietf:params:scim:schemas:extension:successfactors:2.0:User']['IASsync']",
"optional": true,
"targetPath": "$['urn:ietf:params:scim:schemas:extension:successfactors:2.0:User']['IASsync']"
},

where IASsync is the technical name of the custom field we have in SF.

then in Target trasnformation we added a condition:

($.IASsync != '2046299')

where '2046299' is the picklist OptionID for the value 'NO'. Previoulsy this worked and users with IASsync=NO where skipped and not synced in IAS, which is our objective.

Any help is appreciated since we are stuck with it!

thanks

View Entire Topic
MichaelBuonoGKN
Participant
0 Kudos

You can try to use the [ias.user.filter] property to exclude that population, instead of building it into the transformation code logic.

urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:IASsync ne "2046299"

Or whatever the correct schema is...

More information about all the properties is here: https://community.sap.com/t5/technology-blogs-by-sap/sap-ips-list-of-all-properties-available-for-us...