I have a state workflow which has two-way integration with a custom application. The first task is based in SharePoint, and the user can approve, request more info, or send for correction. If the user sends for correction, it creates a task to "pause" the SharePoint workflow, and then notifies the external application of the correction required on the item. The user would then apply the corrections in the external system and re-submit. The external system then completes the correction task in SharePoint, and it goes back to the first task.
What I have found is that in the development env the correction state works perfectly, but in UAT and Production the workflow never continues once the external system completes the correction task.
I have checked to ensure that the correlationToken, task ID, and propertyBags are the same in the Create Task action as well as on task changed event. Everything I have tried has worked in dev, but never in UAT and Production.
Does anyone have any suggestions on what to try other than the standard "check the correlation token, propertybags, and task ID"?