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
Amogh BabhaleAmogh Babhale 

Need help to update process builder to update the field with formula

Hi All,

Hope doing well,

How can we use below formula in process builder the formula is working fine in workflow field update but getting lots of errors in when trying to use in Imidiate action (Field update) of the process builder.

Formula is below 

[Case].Subject & TEXT( MONTH( [Case].DateCreated__c ) ) & "/" & TEXT( DAY( [Case].DateCreated__c ) ) & "/" & TEXT( YEAR( [Case].DateCreated__c ) ) &
TEXT ( HOUR (DATETIMEVALUE([Case].CreatedDate ))) & TEXT ( MINUTE(DATETIMEVALUE([Case].CreatedDate )))

The error that I am gettingn is that "The formula expression is invalid :Funtion Hour may not is be used in this type of  fornmula"

Purpose of the this formula is that whenever case is created provide the Unique subject with the Subject line +date and time saperated by each value(Subject linke+date+year+hour+miniute)

Is there any way we can use this formula in process builder to update the field.

Thanks !!
Danish HodaDanish Hoda
Hi Amogh, 
Please use HOUR(TIMEVALUE([Case].CreatedDate) 
Same for calculating Minute as well.