+ Start a Discussion
Santosh Reddy9989Santosh Reddy9989 

Custom setting values in process builder

how to assign custom setting value  to lookup field of object in process builder (field update) ?
Pankaj_GanwaniPankaj_Ganwani
Hi Santosh,

You can only refer Hierarchical custom settings in Process Builder. You can use below mentioned syntax:

ob.lookupField__c = $Setup.Pro__c.Profile_Id__c 
 
Santosh Reddy9989Santosh Reddy9989
hi pankaj,
can explain the syntax plz for thisUser-added imageUser-added image
Custom Setting API Name           :   san_account_cs__c
Custom Setting Field API Name   :    GLA_ID__c
 
Pankaj_GanwaniPankaj_Ganwani
Hi,

Select type as formula while assigning the value to the Field. Use below mentioned formula in Formula definition:

$Setup.san_account_cs__c.GLA_ID__c

Thanks,
Pankaj
Santosh Reddy9989Santosh Reddy9989
i tried that syntax, 
iam getting this error when i created new record.
"Workflow Action Failed to Trigger Flow
The record couldn’t be saved because it failed to trigger a flow. A flow trigger failed to execute the flow with version ID 30158000000LLbK".

Thanks,
Santosh
Pankaj_GanwaniPankaj_Ganwani
Hi Santosh,

Were you able to save the Process? Can you ensure that you are assigning the correct Id format to the lookup field?
sidhartha nathsharmasidhartha nathsharma
Yes Pankaj. I tried the same way and I am now able to access the hierarchical custom settings value in process builder.