cancel
Showing results for 
Search instead for 
Did you mean: 

Exclude non-employee accounts from getting picked by IPS job

SAPSupport
Employee
Employee
0 Kudos
1,021
In SF source system's sf.user.filter property, what is the syntax to exclude some usernames from being read by IPS.
------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.
View Entire Topic
SAPSupport
Employee
Employee

If you use SF SCIM API(sf.api.version=2), you can find how to set filter in API document:

https://api.sap.com/api/PLTScim/path/get_rest_iam_scim_v2_Users

ne or neq operator is not supported so you may consider to skip users using IPS transformation of SuccessFactors source system like below:

"user": {
"condition": "$.userName != 'user1' && $.userName != 'user2'",

Change user1 and user2 to the usernames you would like to exclude.

ssdelgadoo
Explorer
0 Kudos

Hello! I folowwed your intructions but IPS tryied to sync the Username: IPSADMIN.

I have this condition:

{

"user": {

"condition": "($.emails EMPTY false) && ($.userName EMPTY false) || ($.userName != 'IPSADMIN')",

"mappings": [

{

.........................................

What is wrong?

jimguo
Product and Topic Expert
Product and Topic Expert
0 Kudos

You may use condition like:

"condition": "($.emails EMPTY false) && ($.userName EMPTY false) && ($.userName != 'IPSADMIN')",