I have a process which fires on the change of custom_status (Status set to 'Awaiting Response'). Process sends two emails after 4 days and 7 days the change was made. Email dates are extracted from custom fields set by a plugin which triggers on custom_status change. So there is a timeout condition which wait for 4 days and them 3 days after that.
Now I have a change request to stop the process if custom_status is changed again (Set to anything other than 'Awaiting Response') with in the waiting period.
Basic idea behind it is if with in last 3 days of waiting custom_status is changed to 'In Process' and changed back to 'Awaiting Response'. A new instance of workflow will kick in and existing process should not be completed. As emails are sent on that date set on change. Both (New & Old) workflow will send the 2nd email. user will recieve 2 emails.
Can anyone suggest me how to achieve this.
Many Thanks