Click HERE to see how Saviynt Intelligence is transforming the industry. |
05/22/2024 02:36 PM
I am using Salesforce OOTB Connector, i got a requirement from Salesforce team when entitlement is selected as "Marketing User" or entitlement contains "Marketing" or "Sales" then set attribute "UserPermissionsMarketingUser": true, which ideally should checked in salesforce user profile.
Modify Account Json
{
"Alias": "${user.firstname.toString().substring(0,1)}${user.lastname.toString().substring(0,4)}",
"Email":"${user?.getEmail()}",
"Username":"${accountName}",
"FirstName":"${user?.getFirstname()}",
"LastName":"${user?.getLastname()}",
"TimeZoneSidKey":"America/Los_Angeles",
"LocaleSidKey":"en_US",
"EmailEncodingKey":"ISO-8859-1",
"ProfileId":"${profileId}",
"LanguageLocaleKey":"en_US",
"IsActive":true,
"UserPermissionsMarketingUser": true,
"FederationIdentifier":"${user?.getUsername()}"
"UserPermissionsMarketingUser": "${if(arsTasks.entitlement_valueKey.entitlement_value == 'Marketing User'){true}}"
}
05/22/2024 02:40 PM
Could you kindly provide a detailed snapshot of the information extracted from the logs, encompassing errors and other pertinent functionality details encountered during the execution of this process? Your assistance in furnishing this information would greatly aid in the analysis and resolution of any issues .
‼️‼️⚠️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.⚠️‼️‼️
does it works from postman?
05/22/2024 03:08 PM
05/22/2024 03:10 PM
Postman screenshot
05/22/2024 03:39 PM - last edited on 05/22/2024 03:59 PM by Dave
[This post has been edited by a Moderator to remove sensitive information.]
05/22/2024 04:12 PM
Postman screenshot of salesforce showing this attribute is correct and working
05/23/2024 10:13 AM
@sandeepgudipudi need this details
05/23/2024 10:24 AM
Can you elaborate which details are needed
05/23/2024 10:25 AM - edited 05/23/2024 10:26 AM
Does salesforce api works from postman ?
Refer sample - https://www.postman.com/salesforce-developers/workspace/salesforce-developers/request/12721794-fc451...
05/23/2024 10:27 AM
Salesforce api works and here modify account json is not working rather modify account task is also not creating
05/23/2024 10:42 AM - edited 05/23/2024 10:43 AM
I need salesforce API screenshot from postman
05/23/2024 11:22 AM - edited 05/23/2024 11:34 AM
From postman the attribute is updating
05/23/2024 09:18 PM
You are passing 2 times
{
"Alias": "${user.firstname.toString().substring(0,1)}${user.lastname.toString().substring(0,4)}",
"Email":"${user?.getEmail()}",
"Username":"${accountName}",
"FirstName":"${user?.getFirstname()}",
"LastName":"${user?.getLastname()}",
"TimeZoneSidKey":"America/Los_Angeles",
"LocaleSidKey":"en_US",
"EmailEncodingKey":"ISO-8859-1",
"ProfileId":"${profileId}",
"LanguageLocaleKey":"en_US",
"IsActive":true,
"FederationIdentifier":"${user?.getUsername()}"
"UserPermissionsMarketingUser": "${if(arsTasks.entitlement_valueKey.entitlement_value == 'Marketing User'){true}}"
}
05/26/2024 10:18 AM
this did not solve issue
05/26/2024 10:43 AM
Modify account will not provide entitlement information hence you need to use dynamic attributes and use dynamic attributes in modify json to implement logic
05/23/2024 06:28 AM
Hi,
Do you have update on my usecase
05/23/2024 10:08 AM
modify account task is also not creating