04 April
Exchanging Office 2007 InfoPath Forms between Office 2007 Groove and SharePoint
Slide 1
Slide 2
Note – two workflows are shown.
SharePoint Workflow 1 moves forms submitted in Groove to SharePoint (and back to Groove when they're Completed)
SharePoint Workflow 2 moves forms through a tasking workflow in SharePoint
Slide 3
Admin fills out an administrative form that identifies a Groove InfoPath Form (e.g., Groove Space, IP Forms Tool, IP Form) and a SharePoint Form Library and submits the form to a "Groove workflow admin list".
Slide 4
Submitting the administrative form initiates a persistent, long duration workflow that exchanges forms between the Groove InfoPath Forms tool and the SharePoint forms library, based on the state of the form (actually, the value of a status field). That workflow is tracked in the admin SharePoint list, as shown above, by the entry created when the "wf 3" form was submitted.
The reason for this is simple – in SharePoint, a workflow has to be associated with an item in a list (a SPListItem). A workflow can't "just" be associated with a list and create items in that list – it has to be associated with an existing item. Hence there are two lists – one for (potentially many) Groove-SharePoint workflows (that you see above) and another for the workflow that kicks off when a user "submits" a form in Groove – that this workflow (the "wf-3" workflow) sticks in another list, which kicks off another workflow.
Slide 5
User fills out a form on Groove and "submits" the form.
Slide 6
Slide 7
SharePoint workflow runs and moves form to SharePoint forms library (a different form library). Status of SR-1002 is "InProcess"
Slide 8
Form is routed via a DIFFERENT SharePoint workflow to maintenance and problem is fixed
Slide 9
But not yet updated in Groove…
Slide 10
The SharePoint workflow engine runs and moves the form back to Groove
Slide 11
Slide 12
Slide 13
Slide 14
This workflow program runs for a long duration (as long as the Groove and SharePoint entries are to be connected via workflow ). This could be for months or longer.
The OnTaskChanged activity of this workflow runs periodically, and does all the work.
Slide 15
Slide 16
Slide 17
Slide 18
Slide 19
Slide 20
Updating a task is something a SharePoint workflow can wait for – so there's a program that periodically updates any tasks it finds (in the SharePoint Groove workflow admin list), and that runs the workflow program(s) on the list