How to build the url for a blackpearl SharePoint Workflow Integration client event

Last post 08-21-2008, 4:33 PM by DavidL. 1 replies.
Sort Posts: Previous Next
  •  08-20-2008, 6:18 25590

    How to build the url for a blackpearl SharePoint Workflow Integration client event

    The worklist item for a SharePoint Workflow Integration client event points to the Workflow status page in MOSS called WrkStat.aspx.  This page contains the links for the actual Task list items in SharePoint that allow the user to action the item.  All the data needed to build the URL for WrkStat.aspx page is available in the 'SPIntegrationData' process xml field immediately after the process starts.

    For example, there may be a need to include this url in a Mail event rather than using a client notification event.  The querystring parameters for the WrkStat.aspx page can be obtained from the 'SPIntegrationData' field to build out the URL for this page as follows:
    http://moss_server/_layouts/WrkStat.aspx?List=[SPIntegrationData_ListId]&WorkflowInstanceID=[SPIntegrationData_WorkflowId]&ItemUniqueId=[SPIntegrationData_ItemUniqueId]&taskListId=[SPIntegrationData_TaskListId]

    Where the values between the brackets are the 'SPIntegrationData' process xml field elements added via the K2 object browser from within the Mail Event message body.

    Note that the ListItem ID(s) for the actual task items created on the SharePoint 'Task List' specified in the SharePoint Workflow Integration process wizard are not stored in the SPIntegrationData field.


    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.

  •  08-21-2008, 4:33 PM 25622 in reply to 25590

    Re: How to build the url for a blackpearl SharePoint Workflow Integration client event

    If you are not on the top-level site, it looks like you have to add the site to the path above:

    http://moss_server/site/_layouts/WrkStat.aspx?List=[SPIntegrationData_ListId]&WorkflowInstanceID=[SPIntegrationData_WorkflowId]&ItemUniqueId=[SPIntegrationData_ItemUniqueId]&taskListId=[SPIntegrationData_TaskListId]


    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
View as RSS news feed in XML