I have created InfoPath form that collects information from the user (name, department, manager etc...) using GetUserProfileByName
method. I have also created a workflow for this form so that once it is submitted, it will send an email to his manager to approve this form.
While workflow is working fine, every time the manager open the form, his data is populated on the field instead of submitter's (Obvious since it will collect data from logged-on user). Another field that is not using GetUserProfileByName
method was not affected.
Is there a way to preserve the value once the form was submitted?