We've developed a workflow which will send out an email after 10 minutes, based on 2 emails on the record. One is the client email, the other is the owner email.
The Owner gets assigned based off a Function that triggers on import, which happens before the 10 minutes point usually.
The issue here is that if the function fails for any reason (like one of the criteria was edited or missing) then the Workflow triggered email gets sent out with the Owner being whoever imported the list. As it is an admin doing this, we don't want her details on anything.
I wanted to try to set a generic owner email in the workflow, so it gets added first, then when the function triggers, it'll reassign to one of the others based on the function criteria. Then if something happens, the email will still go out, but with that generic owner shown.
However, I can't find a way to fill an email field from the workflow. Am I missing something? How do I do this?