ads

Wednesday, August 29, 2012

Infopath complete Nintex WorkFlow task via WS

Stages:

1. Have to create a data connection in the form http:// 'sitename' / _vti_bin / Nintexworkflow / workflow.asmx2. Select the function GetRunningWorkflowTasksForCurrentUserForListItemsRemove the polling check box each time the form is opened since and want to do with rules

3. Have to complete step one and this time choose a function ProcessTaskResponse2
4. Create the following fields on the form:
      A. ItemId
      B. ListName

    

5. Added new rule Action in button Approve
   A. To import the task ID must be provided a list item ID, WS know to return the current user-related task


Set value on created fields
The rule looks like this:


 B. After we have imported the task ID can be completed by the second function call And set field values ​​from the first function to second
Set fields:
outcome = "Approve"
 workflowlistname = task list name
 C. Query connection (function 2)


 6. Update fields (ItemId and ListName  by the  WF when creating item)
 7. The Workflow looks like this:

No comments:

Post a Comment