08.08.2017 Views

designer

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using Actions and Conditions 259<br />

sending an e-mail message or writing log information. Actions and conditions are the essential<br />

building blocks for creating workflows in SharePoint Designer.<br />

SharePoint 2010 provides you with a set of conditions and actions that you can use to<br />

create your workflows. A condition is a kind of filter. For example, if the condition is true,<br />

the associated action or actions are executed. The conditions available to your workflow<br />

depend on the workflow type; for example, the condition that checks the size of<br />

a file is available only on list workflows, and specifically on lists and libraries that allow<br />

attachments.<br />

An action defines a set of tasks that needs to be completed. Actions can be configured<br />

to run in serial or parallel. When you run actions in serial, an action starts only if the preceding<br />

one is complete. When you run actions in parallel, known as a parallel block, all<br />

actions start at the same time. SharePoint Designer divides built-in actions into six action<br />

categories:<br />

●●<br />

Core Actions Contains common activities that you use in many workflows. These<br />

activities allow you to manipulate dates and times, build a form to collect information<br />

from users, and write information to the history list. This category has three<br />

changes from SharePoint Designer 2007:<br />

❍❍<br />

❍❍<br />

❍❍<br />

Add a Comment A new action, Add a Comment can be used to leave informative<br />

comments for reference purposes to help users who are coauthoring<br />

the workflow.<br />

Send Document to Repository Only available on libraries and for the<br />

Document content type.<br />

Set Workflow Status The default options are Canceled, Approved, and<br />

Rejected. You can also add your own.<br />

●●<br />

Document Set Actions A new action category specific to SharePoint Server 2010<br />

sites. Document sets are groups of documents that have a specific meaning as a<br />

group and share a specific life cycle. For instance, all documents related to a certain<br />

legal matter can be grouped as a document set.<br />

●●<br />

List Actions Contains actions that allow you to manipulate list items, including creating,<br />

copying, and deleting list items. These actions can be applied to documents<br />

within libraries because libraries are just special lists. This category also includes<br />

specific document-related actions, such as undoing a check out. A number of new<br />

actions are included in the category concerning records, permissions, deleting draft<br />

items, and pausing the execution of a workflow while waiting for a change in a<br />

document’s check-out status.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!