Display Workflow History on the Form itself - InfoPath Dev Sign in | Join | Help in Workflow InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Workflow » Display Workflow History on the Form itself Display Workflow History on the Form itself Last post 07-27-2010 06:22 PM by Dom80. 3 replies. Page 1 of 1 (4 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 07-24-2008 10:53 PM jivey Joined on 07-25-2008 Posts 2 Display Workflow History on the Form itself Reply Contact I am using an InfoPath form and a workflow approval process on MOSS 2007. Is there any way to append the workflow approval history to the end of the form itself? I need to have some type of verification on the form to show that it has passed through the proper approvers, kind of like a signature. ThanksJohn 07-25-2008 06:55 AM In reply to Clay Fox Joined on 06-27-2006 USA Posts 1,935 Re: Display Workflow History on the Form itself Mark as Not AnswerMark as Answer... Reply Contact I am not that familiar with SPD but is the history recorded in SharePoint where you can see it? If it is in Sharepoint you should be able to access it. Or is there a way to build a list with the data and then have your form connect to the list. Clay Fox / Microsoft InfoPath MVP 07-25-2008 07:55 AM In reply to jivey Joined on 07-25-2008 Posts 2 Re: Display Workflow History on the Form itself Mark as Not AnswerMark as Answer... Reply Contact When you click the Approved or In Progress link in the workflow column on a form, it give you a list or workflow history of all the steps that the flow has went through. How can I access this if it is part of SharePoint? Here is a copy and paste of the data I want to grab: Workflow Status: Purchase Requisition Work Flow Workflow Information Initiator: John W. Ivey Document: Cisco Router Started: 7/23/2008 2:57 PM Status: Approved Last run: 7/23/2008 3:01 PM Tasks The following tasks have been assigned to the participants in this workflow. Click a task to edit it. You can also view these tasks in the list Tasks. ctx = new ContextInfo(); ctx.listBaseType = 0; ctx.listTemplate = 107; ctx.listName = "{42E7C174-BEB6-4749-AA70-584685DA58DF}"; ctx.view = "{D4BB9DFB-A58F-4905-A1C3-286C30B637C9}"; ctx.listUrlDir = "\u002fLists\u002fTasks"; ctx.HttpPath = "\u002f_vti_bin\u002fowssvr.dll?CS=65001"; ctx.HttpRoot = "http:\u002f\u002fmonitor"; ctx.imagesPath = "\u002f_layouts\u002fimages\u002f"; ctx.PortalUrl = ""; ctx.SendToLocationName = ""; ctx.SendToLocationUrl = ""; ctx.RecycleBinEnabled = -1; ctx.OfficialFileName = ""; ctx.WriteSecurity = "1"; ctx.SiteTitle = "South Pike School District"; ctx.ListTitle = "Tasks"; if (ctx.PortalUrl == "") ctx.PortalUrl = null; ctx.displayFormUrl = "\u002fLists\u002fTasks\u002fDispForm.aspx"; ctx.editFormUrl = "\u002fLists\u002fTasks\u002fEditForm.aspx"; ctx.isWebEditorPreview = 0; ctx.ctxId = 1; g_ViewIdToViewCounterMap[ "{D4BB9DFB-A58F-4905-A1C3-286C30B637C9}" ]= 1; ctx.CurrentUserId = 1; ctx.verEnabled = 1; ctx1 = ctx; Assigned To Title Due Date Status Outcome John W. Ivey Please approve Cisco Router 7/25/2008 Completed Approved by John W. Ivey Workflow History View workflow reports The following events have occurred in this workflow. ctx = new ContextInfo(); ctx.listBaseType = 0; ctx.listTemplate = 140; ctx.listName = "{CD6F5B50-7D81-4B73-9B3D-C2FBFA7A782D}"; ctx.view = "{E0E16616-1767-4697-A4F1-830DC99A0BA3}"; ctx.listUrlDir = "\u002fLists\u002fWorkflow\u002520History"; ctx.HttpPath = "\u002f_vti_bin\u002fowssvr.dll?CS=65001"; ctx.HttpRoot = "http:\u002f\u002fmonitor"; ctx.imagesPath = "\u002f_layouts\u002fimages\u002f"; ctx.PortalUrl = ""; ctx.SendToLocationName = ""; ctx.SendToLocationUrl = ""; ctx.RecycleBinEnabled = -1; ctx.OfficialFileName = ""; ctx.WriteSecurity = "1"; ctx.SiteTitle = "South Pike School District"; ctx.ListTitle = "Workflow History"; if (ctx.PortalUrl == "") ctx.PortalUrl = null; ctx.displayFormUrl = "\u002fLists\u002fWorkflow\u002520History\u002fDispForm.aspx"; ctx.editFormUrl = "\u002fLists\u002fWorkflow\u002520History\u002fEditForm.aspx"; ctx.isWebEditorPreview = 0; ctx.ctxId = 2; g_ViewIdToViewCounterMap[ "{E0E16616-1767-4697-A4F1-830DC99A0BA3}" ]= 2; ctx.CurrentUserId = 1; ctx2 = ctx; Date Occurred Event Type User ID Description Outcome 7/23/2008 2:57 PM Workflow Initiated John W. Ivey Purchase Requisition Work Flow was started. Participants: John W. Ivey 7/23/2008 2:57 PM Task Created John W. Ivey Task created for John W. Ivey. Due by: 7/25/2008 2:57:45 PM 7/23/2008 3:01 PM Task Completed John W. Ivey Task assigned to John W. Ivey was approved by John W. Ivey. Comments: Looks good. Approved by John W. Ivey 7/23/2008 3:01 PM Comment John W. Ivey Post-completion activity performed. Approval status updated. 7/23/2008 3:01 PM Workflow Completed John W. Ivey Purchase Requisition Work Flow was completed. Purchase Requisition Work Flow on Cisco Router has successfully completed. All participants have completed their tasks. 07-27-2010 06:22 PM In reply to Dom80 Joined on 07-11-2008 Posts 31 Re: Display Workflow History on the Form itself Mark as Not AnswerMark as Answer... Reply Contact Hi John,Any luck with the above? I am searching for information on how to do this tooCheers! Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
I am using an InfoPath form and a workflow approval process on MOSS 2007. Is there any way to append the workflow approval history to the end of the form itself? I need to have some type of verification on the form to show that it has passed through the proper approvers, kind of like a signature.
ThanksJohn
I am not that familiar with SPD but is the history recorded in SharePoint where you can see it?
If it is in Sharepoint you should be able to access it.
Or is there a way to build a list with the data and then have your form connect to the list.
When you click the Approved or In Progress link in the workflow column on a form, it give you a list or workflow history of all the steps that the flow has went through. How can I access this if it is part of SharePoint? Here is a copy and paste of the data I want to grab:
Hi John,
Any luck with the above? I am searching for information on how to do this too
Cheers!