Is there a way to get previous approvers?
You could do it in a couple of ways..
1) capture the approver in infopath's data source. and show it to the VP during his approval
2) or Get the approver using k2 code and save it in a process field and take it back to infopath..
First one is the simplest one.. try it
You can use the built-in SmO called "Activity Instance Destination" and with the process instance id you will get all details you need.
HTH
thanks for the answer; the list of approvers is a must and should be available out of the box.
If this is in InfoPath, you can add a field to the form which will capture the UserName of the approver everytime the form is submitted
1. Add text boxes in the form
2. Add a rule on the Submit button:
if textbox is not empty, assign the Username() function in the text box
This will get the userName of the current viewer of the form.
Afterwards, you can include the values of the textboxes into the email that will be sent to the VP or to the metadata of the form library by uploading these to the columns, as these textboxes can now be part of the XML data.
Hope this helps..
Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.