on 2022 Jun 13 6:05 AM
Hi experts,
We are currently integrating IAS/IPS with Successfactors and we have a requirement where the activation email for new employees should be sent in their locale language based on the users legal entity [Example: User's legal enity belongs to Netherlands, therefore welcome email/activation email should be using the Dutch language template].
How can we set the user's language to a particular value in user management in IAS based on user's legal entity. Is there a transformation code possible in IPS so that the code will determine the value and send it to IAS from IPS and this will trigger the email in respective language. Any other solution is also welcome.
Thank you!
Request clarification before answering.
I've just tried a similar code like yours and I was not being able to save either, but I found where the issue is.
In your code, you have [$.defaultLocale], but the correct is ["$.defaultLocale"].
When I made this change, it allowed me to save.
Example:
{
"type": "valueMapping",
"sourcePaths": ["$.defaultLocale"],
"targetPath": "$.locale",
"defaultValue": "EN",
"valueMappings": [
{ "key": ["en_US"], "mappedValue": "EN" },
{ "key": ["vi_VN"], "mappedValue": "VN" },
{ "key": ["ko_KR"], "mappedValue": "KR" },
{ "key": ["ja_JP"], "mappedValue": "JP" },
{ "key": ["zh_CN"], "mappedValue": "CN" },
{ "key": ["fr_FR"], "mappedValue": "FR" },
{ "key": ["pt_PT"], "mappedValue": "PT" },
{ "key": ["nl_NL"], "mappedValue": "NL" }
]
}
Still having some challenges on sending the notification in the correct language, but I hope it helps you somehow.
Regards,
Lucas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I did found the solution yesterday 🙂 It works but just the default language will be written in User Data.
I have an open INC by SAP.
PS: I will post hier as soon as i have a Solution
User | Count |
---|---|
7 | |
3 | |
2 | |
2 | |
2 | |
2 | |
2 | |
2 | |
2 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.