06/15/2023 07:17 AM - edited 06/15/2023 11:21 AM
We have a requirement from one of the Salesforce teams to enable Flow User Checkbox when creating a new user.
I couldn't find the Flow User attribute in salesforce documentation. Could you please assist with the right attribute?
If I want to enable, Marketing user, I was able to find the attribute -
"UserPermissionsMarketingUser": true
I tried something like below for Flow user but didn't work.
"UserPermissionsFlowUser": true
It's throwing an error below which means it's not the correct attribute. Please help with the right attribute to use.
Error in user creation errorCode: INVALID_FIELDmessage: No such column 'UserPermissionsFlowUser' on sobject of type User
-Siva
Solved! Go to Solution.
06/15/2023 12:09 PM
Can you confirm if you are able to set this value from Postman. If this is working from postman, can you share the export of the payload you are using.
06/15/2023 12:46 PM
Can you check below and see if it helps?
UserPermissionsInteractionUser
06/16/2023 01:56 AM
Thanks @dgandhi ! It did help. I cross referenced with one of the salesforce developers and found that the right attribute name can be found from this documentation - https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_...
Passing it in the OOTB connector did help set the checkbox.
"UserPermissionsInteractionUser": true,
-Siva