Wednesday 30 December 2015

How to run a Nintex workflow for a list

How to run a Nintex workflow for a complete list 

Hi everyone ,

          We often end up with a problem that we have to run a worklfow for the entire list or a library in sharepoint. 

Sitting and editing the entire list is a breath taking work if the number of items in the list is more. We can follow a simple way to achieve it without much effort.

We just need to create a site workflow that starts the particular list workflow.

Steps are follows :


  1. Create a "SITE" workflow.
  2. Insert "Query list" action.
  3. Create a collection variable ( ex: var_IDcoll ) to store all the ID s of the items in the list and create a number variable ( ex:var_currentID ) for single ID and select that variable in the output.
  4. Insert "For each" action.
  5. Use the second variable ( var_currentID ) in the for each action to loop through each items in the list.
  6. Insert "Call a web service" action.
  7. Use the following web service with the site URL. ( ex: https://sharepoint.com/sites/mySite/_vti_bin/NintexWorkflow/Workflow.asmx )
  8. Select the "StartWorkflowonListItem" method.
  9. Provide the List name and the List workflow name that you want to run for the entire list.

Just start the site workflow and it will start the list workflow for all the items.


Happy learning !!


Learn it Love it Lead it !!!


To learn more, just follow the page in Facebook Sharepoint Dev




Hi

No comments:

Post a Comment