Showing posts with label Workflow. Show all posts
Showing posts with label Workflow. Show all posts

Tuesday, June 15, 2010

Extra SharePoint Designer Activites

SPD Activities

There is an add-on to Workflow in SharePoint, accessible in SharePoint Designer. It was downloaded from www.codeplex.com (direct link isHERE). The new activities are:

  • Send Email with HTTP File attachment - Allows sending emails with attachments retrieved using a web request
  • Send Email with List Item attachments - Allows sending list item attachments as files attached to an email
  • Start Another Workflow - Starts another workflow associated with a list item
  • Grant Permission on Item - Allows granting of specified permission level on a spicified item
  • Delete List Item Permission Assigment - Allows deleting of specified permission level assigment for a given user
  • Reset List Permissions Inheritance - removes any unique permissions assigned to an item by inheriting list permissions
  • Is User a member of a SharePoint group - Checks if a given user is part of given sharepoint group
  • Is Role assigned to User - Checks if a user role is already assigned on the current list item
  • Lookup user info - allows to lookup properties in site's user information list for a given login. The usable parameters are:
    • "department" - Department
    • "name" - domain\username
    • "LinkTitle" - First & Last Name
    • "E-Mail" - email address
  • Copy List Item Extended Activity - Allows copying/moving list items and files cross site.
  • Send Email Extended - Enhaced version of the OOTB activity. Allows you to specify the sender. Also does not break links in body.

Run a workflow on all items in a list

Sometimes when you create a workflow you want to retroactively run it on all items in a list. This has been a challenge since now.

On this blog, they have created a tool that, when run on the SharePoint server, allows you to point to a list in a site, choose all available workflows, and run it on all items. Here's how:

On the spapps01 SharePoint server at Swinerton, this file is located in the C:\Installs folder and is called SharePoint.Tools.Workflow.exe
Step 1: Load the program and enter the URL for SharePoint
Step 2: It will list all sites in 1 list. Navigate to the Site you want - NOT THROUGH IT'S PARENT SITE(S)


Step 3: Choose the workflow from the drop-down


Step 4: Click START



Step 5: Wait. It will take about 60 seconds to initiate a workflow on about 300 list items. However, after being initiated, the server has to actually RUN those workflows. Since it goes one by one, starting at List item 1, then 2, then 3, etc., it may take several minutes for it to complete.