What is the correct way to update a record based on the profile that created it?
For example if the user belongs to profile X then I want all Contacts they create to be assigned to Account Z. I want to accomplish this automatically and currently my thinking is a Process designed via the Process Builder. Is this correct or would a trigger or workflow be more suitable.
Note I have currently tried creating a Process as:
- On Contact
- If created by Profile with ID: XXX = True
- Immediate Action to update Contact record (All) setting the field Account ID with type ID to the value of XXX (account record id)
I logged in via the user and this didn't work :(