Hi. I already tried to debug the workflow and checked the submit button contains "submit using a data connection" action or not.
The submit button got the action of submit using data connection. In debugging the workflow, there is an error which bother me for few weeks and i still failed to solve it. It is system.nullexception. Below is the message pop up during debugging:
An exception of type 'System.NullReferenceException' occurred in ApprovalActivities.dll but was not handled in user code
Additional information: Object reference not set to an instance of an object.
I set my breakpoint at taskLeaveStatus in onTaskChanged:
public string taskLeaveStatus;
string guidField=taskGuidField.toString(); //Bring from workflow through replicator activity: (e.Activity as ManageApproval).taskGuidField=guidField.toString();
taskLeaveStatus=this.AfterProperties.ExtendedProperties[new Guid(guidField)].toString(); //Breakpoint at here
It shows me the error. Last few times I tried using field name but it failed and same error occurred.
So I wonder what is the error here as for the field it suppose contains the value bring from the IP task form.
Thanks again.