Symptoms
SmartForm Runtime URL change in Environment field does not get reflected for existing tasks.
We have changed the SmartForm Runtime URL in UAT server, new URL is working for new tasks initiated but it is not getting reflected for existing tasks assigned to any user.
Diagnoses
When workflow task is created K2 stores URL for the task in the database. If environment field is changes after task is generated then we have to run that activity again to correct the URL.
Resolution
Perform a gotoactivity to the same activity to regenerate task URL resolved the issue.