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
Victor Nguyen 13Victor Nguyen 13 

Invoke another process when no Activity and no Stage update 4 days (weekend excluded) after created date

Hi everyone,

I'm having trouble setting up on process builder. I want it to invoke another process 4 days (weekend excluded) after created date when no Activity and no StageName updated.

Below is the formula that trigger the action
MOD([Opportunity].Opportunity_Age__c , 1) = 0 && 
ISNULL([Opportunity].Last_Activity_Subject__c) &&
ISPICKVAL([Opportunity].StageName , 'New')

Where Opportunity_Age__c is a formula fields (return type is Number): 
(5 * ( FLOOR( ( NOW() - DATETIMEVALUE("1900-01-08 00:00:00")) / 7 ) ) + MIN( 5, MOD( NOW() - DATETIMEVALUE("1900-01-08 00:00:00"), 7 ) ) )
-
(5 * ( FLOOR( ( DATETIMEVALUE(CreatedDate) - DATETIMEVALUE("1900-01-08 00:00:00") ) / 7 ) ) + MIN( 5, MOD( DATETIMEVALUE(CreatedDate) - DATETIMEVALUE("1900-01-08 00:00:00"), 7 ) ) )

It doesn't work for some reasons. Please give me some advice on this.