I have a time-dependent workflow on a custom object called ObjA__c that has a lookup to another custom object called ObjB__c. The rule criteria on the workflow is:
ObjA__c.intVal__c = 5 && ObjB__c.intVal__c = 3
The time-dependent workflow action is set to run 1 hour after rule trigger date.
When an ObjA__c record that has an intVal__c != 5 and which is linked to a ObjB__c where the ObjB__c.intVal__c = 3 has it's intVal__c field update to equal 5 the time-dependent workflow is queued to execute in an hour.
What happens if before the queued workflow executes the ObjB__c.intVal__c is updated to not equal 3?
Since the record being updated is not an ObjA__c record I know that before the execution of the time-dependent workflow the record wouldn't get removed from the queue. However I am wondering if before executing the action if a check is run to see that (ObjA__c.intVal__c = 5 && ObjB__c.intVal__c = 3) is still true before executing the queued action.
The time-dependent workflow action that this rule executes is a field update.