We have multiple rules setup for Case using process builder but one of the rule seems to be failing throwing CPU Time Limit Exceeded error. The process is failing at this step where i am updating OwnerID with LastModifiedById since there are a total of 5 million Cases.
I would like to know if there's a way to call a batch class in the immediate action leaving the criteria as-is? How can i query the cases in batch apex that i could call here in the process builder?
Thanks in advance.