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
Carrlos BoydCarrlos Boyd 

Help with Owner ID field formula

I need help with the following formula field for Owner ID in Process Builder

If Field__c is blank, owner will be My_Queue,
If Field__c is a specific user, owner will be the same specific user,
Otherwise the owner will be the current user.

Here is what I am trying to use but keep getting errors:
IF(Field__c, ""), QueueId=00G5B0000000000,
IF(Field__c, "Specific User"), QueueId=00G5B0000000000,
$User.Username))

 
Raj VakatiRaj Vakati
Try this 
 
IF (
ISBLANK([Lead].Field__c)  , 'Queu Id' , 
IF([Lead].Field__c ='Specific User' ,'Owner Id' , 'user Id' )

)

 
Carrlos BoydCarrlos Boyd
Thanks Raj. Here is what I ended up using:
IF (
ISBLANK([Object].Field__c), 'Queue Id',
IF([Object].Field__c = 'Specific User', 'Queue Id', $User.Username)
)