function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ramk123Ramk123 

Community Self-Registration user related Contact record to assign Unique number than other person accounts

Dear Experts,

We have a requirement to generate different numbering formats for Community Self-Registration user-related Contact Records than other person accounts in the system.

I created a Process builder with the following conditions but it is not recognizing the Community Self-Registration user-related Contact upon creating a contact created.

1. Account only when a record is created
2. IsPersonAccount = True and IsCustomerPortal = True
3. Immediate Action to update [Account].Textfield__C = "Self" & "-" &  [Account].Autonumber_field__c 

Please suggest the approach to make the unique numbering format for self-registered related user contacts.

Thank you very much for your help!
Best Answer chosen by Ramk123
AnkaiahAnkaiah (Salesforce Developers) 
Hi Ram,

try with firmula field.
 
IF( AND(IsPersonAccount =true,IsCustomerPortal = True), "Self" & "-" &  [Account].Autonumber_field__c,'')

If this helps, please mark it as best answer

Thanks,
Ankaiah