Using version 11.1.1.10427
I am looking into Automations and struggling to get this to update a User Profile field, currently have Automation being triggered using User.AfterUpdate and it's updating the Bio field, but I cannot figure out how to set a Profile Field.
The Profile Field called Member Type that has a Key Value 'Member_Type', it is single select field:
Name | Value |
Staff | _Staff |
Customer | _Customer |
Partner |
_Partner |
Community Admin |
_Community_Admin |
Currently I have the code updating Bio and that is working fine:
core_v2_user.Update({ Id: context_v2_automationTrigger.Arguments.Id, Bio: "B1"})
What I cannot figure out is how to set the user profile Member Type field.
Can anyone point me in the right direction?
What should I add to the code above to update the Member Type field?