Everything appears to be working correctly and I even can write the Process Data Fields back to the screen but when I attempt to use them in a line rule the data does not get saved back to the process when I complete the Worklist item.
I thought that Process Instance data remained within the process not the activity.
This appears to be working but the data does not get saved
if (_control.GetType() == typeof(RadioButtonList))
{
_controlName = _control.ID.ToString();
Response.Write(_controlName );
_pi.DataFields[_controlName].Value = ((RadioButtonList)Section2.FindControl(_controlName)).SelectedItem.Value.ToString();
Response.Write(_controlName + " = " + _pi.DataFields[_controlName].Value.ToString());
}
}