I have a Forms process that shows the current status of a new employee, what additional forms they have not submitted, and when the last time they were reminded regarding their missing forms. During a particular step where the process is assigned to HR I have a timer on the workflow that goes out and checks for changes in the new employee (status, submitted forms, ...), updates the variables in the form accordingly, and if it has been more than 24 hours, sends them a reminder to submit their missing forms.
The process is working fine except that when workflow runs Retrieves the Form Content it gets the initial variables that were assigned when the form first came into the "In-Process On-Boarding" task and none of the updated ones. If I look at the variables on the instance for the form right now here is what I see:
This includes the reminder it just sent today at 6:19 AM and shows that the variable for when they were last notified was also updated to 6:19 AM. However when I look at the workflow when it runs again it shows neither of these and instead shows the initial variables.
Why would workflow pull different variables than Forms is showing as the current variables and instead pull variables from 5 days ago?