Beruflich Dokumente
Kultur Dokumente
The first step to building a new application is to lay out the application design. Begin with the workflow, or workflows. This identifies
the user steps and system steps necessary to achieve the workflow goal. From here, you can determine what forms you need. Does the
user need to edit form content? Are the forms read-only? Once you have a good understanding of the workflow and forms, you can
determine the data sources. Where is data stored? SharePoint? SQL Server? Do you need to retrieve data? If so, where is the data
coming from? Finally, you can decide if you need to report on the workflow and what kind of reports you need.
Workflow
This application has two workflows: Document Review Workflow and Document Approval Workflow. You will configure both
workflows to start on-demand. After you upload a document to the SharePoint library, you will decide which workflow to start. If you
need input on a document, select the Document Review Workflow. If the document is ready for final approval, select the Document
Approval Workflow.
Both workflow layouts are in a swim-lane format. Notice how each lane represents a user or a system responsible for the task(s). The
workflow moves from one lane to another, before coming to an end.
Document Review Workflow
Forms
This application uses K2-generated SmartForms for user interaction. SmartForms are not used to start the workflow. You start each
workflow on-demand from the library itself. SmartForms are more flexible than standard SharePoint forms. In the last step in this
tutorial, you will edit a SmartForm and remove unnecessary controls. This is not easily accomplished with SharePoint forms.
Reports
You will create the reports element as part of generating application elements from the library. The reports component is not covered
in depth however.
Data
This application uses one SharePoint library for the data component. The table below outlines the properties (columns) the application
requires.
Column Type of
Library Name Name Data Notes
Documents to Title Single line This is the existing Title column for the document library. The column displays
Review and Approve (existing) of text Name when viewing the library.
This is a group of users who review the document. When you start the
Person or workflow, you add user names to this list. The workflow creates a task for each
Reviewers Group user on the list.
This is a group of users who approve or reject the document. When you start
Person or the workflow, you add user names to this list. The workflow creates a task for
Approvers Group each user on the list.
Note: After any two of three approvers finish their approval tasks document will be either approved or rejected.
<img src="http://3.bp.blogspot.com/-
b9K2UqMffzA/VH3PIj35S8I/AAAAAAAABW8/ANRGs4DAGk8/s1600/Approval%2Bworkflow.png"/>
Resolution
Columns:
Editor (PeoplePicker)
Approver1 (PeoplePicker)
Approver2 (PeoplePicker)
Approver3 (PeoplePicker)
<img src="http://4.bp.blogspot.com/-
Mf6W8Mjq7Yg/VH4LpgoEKoI/AAAAAAAABf4/38Da7PkuuXs/s1600/x01.PNG"/>
Note: Using this method approvers can be different for different users/employees.
Regulations – draft
Regulations
<img src="http://3.bp.blogspot.com/-jsULqd-
D3fA/VH3YZRvrVcI/AAAAAAAABbk/iF0L4kJx5Ec/s1600/01.PNG"/>
<img src="http://1.bp.blogspot.com/-
7VdBlJiOc4o/VH3YZSq73qI/AAAAAAAABbo/usyO3d00uh4/s1600/03.PNG"/>
Name: Approver1
Type: String – OK
<img src="http://1.bp.blogspot.com/-
7KVAkvdHr5o/VH3YaETHnAI/AAAAAAAABb0/9c9xVn_zzms/s1600/04.PNG"/>
Value – fx.
Click on fx and enter following parameters:
<img src="http://2.bp.blogspot.com/-
LP_hg2_xavA/VH3YaZnURXI/AAAAAAAABb8/fQgmc4U_9rA/s1600/05.PNG"/>
<img src="http://3.bp.blogspot.com/-
_wC10YhCXJk/VH3YaSN78uI/AAAAAAAABb4/q9N-lnpJclA/s1600/06.PNG"/>
<img src="http://1.bp.blogspot.com/-
hnwmITRsR_A/VH3YajvB4iI/AAAAAAAABcA/Fluje7cninQ/s1600/07.PNG"/>
Click on OK button.
<img src="http://3.bp.blogspot.com/-s92Dq-
dP_Io/VH3Ya9TAq5I/AAAAAAAABcE/zdTl9uVu3rE/s1600/08.PNG"/>
<img src="http://2.bp.blogspot.com/-
Pa9slvZueo8/VH3YipajGmI/AAAAAAAABew/KxzrhbT5Ioo/s1600/09.PNG"/>
You should be able to see workflow presented on the following image:
<img src="http://3.bp.blogspot.com/-
x53R7jz55cE/VH3YbZNlVWI/AAAAAAAABcI/Uh785a59fVY/s1600/10.PNG"/>
Approver2
Approver3
<img src="http://4.bp.blogspot.com/-
0qlPHNrwloQ/VH3YbiDkKmI/AAAAAAAABcM/sDc7hR7YIrg/s1600/11.PNG"/>
Now click on “…” button to define paticipants (approvers) – Workflow Lookup for a User… – Add – (insert parameters as shown on the image
below).
<img src="http://4.bp.blogspot.com/-
jqreF4rX7u0/VH3YcSm8UoI/AAAAAAAABcY/OWPzo_SUJrY/s1600/13.png"/>
Repeat process for Approver2 and Approver3.
Click on OK button.
<img src="http://1.bp.blogspot.com/-
tqEdlbD2TuI/VH3Yc9i9CCI/AAAAAAAABcg/Cy_CGOG7vJM/s1600/14.png"/>
<img src="http://4.bp.blogspot.com/-
GEpt4hMgIM0/VH3YdfYeUhI/AAAAAAAABcs/9YdlmpvGMfA/s1600/16.png"/>
<img src="http://1.bp.blogspot.com/-
G4iJCtt3OiY/VH3YeORfDzI/AAAAAAAABdE/dLJo6F-9mdc/s1600/19.PNG"/>
In this case approval process will be finished after any two of three approvers finish their approval tasks.
Note: if I put any number higher than 33 and lower than 67 outcome will be the same.
Now click on Email Options.
Click on Open email editor and edit email that will be sent to approvers.
E.g.
<img src="http://1.bp.blogspot.com/-
7p9m5Yx0N7c/VH3Ye5YgIEI/AAAAAAAABdM/aV-UZBukIXU/s1600/20.png"/>
We do not want to set Approval Task Due Date, so in this case we will not check “Send Task Overdue Email” option.
<img src="http://3.bp.blogspot.com/-
smEyRriFtds/VH3YfBLg9rI/AAAAAAAABdQ/nP4IeqOmPdk/s1600/21.PNG"/>
<img src="http://4.bp.blogspot.com/-
X2SLK38cD_o/VH3YfjO2reI/AAAAAAAABdc/vhuy-6JOC4A/s1600/22.PNG"/>
Click on OK button.
<img
src="http://3.bp.blogspot.com/-tNe_-mt0VWA/VH3YfwP9vtI/AAAAAAAABdg/yf4mO3F1T0o/s1600/23.PNG"/>
Now we need to set what whoul happened if an item is approved and what if an item is rejected.
Click on Condition – If any value equals value.
<img src="http://1.bp.blogspot.com/-
Luo27D5Zcq8/VH3YgQKZ0gI/AAAAAAAABdo/0FLC05k1nlY/s1600/24.png"/>
Click on left “value” link, click on “fx” button – (enter parameters as shown on image below).
Click on other “value” link, click on Approved.
Singl left click below following string: “(Start typing or use the Insert group on the Ribbon.)”.
<img
src="http://1.bp.blogspot.com/-Rtv9ghLCWX8/VH3Ygq7WrNI/AAAAAAAABeI/LaYF0hUm678/s1600/25.PNG"/>
<img src="http://3.bp.blogspot.com/-
8d8cZ9W4wTE/VH3YhP4HJkI/AAAAAAAABd4/6qXAxqRJa98/s1600/26.PNG"/>
<img src="http://3.bp.blogspot.com/-
vtPIEpniX0A/VH3YiwoZN2I/AAAAAAAABeo/4n2gNKsbgag/s1600/29.png"/>
<img src="http://4.bp.blogspot.com/-
xrIUJAITlu0/VH3YjKhWSXI/AAAAAAAABek/QAjOzdhAUDI/s1600/30.png"/>
<img
src="http://3.bp.blogspot.com/-wSPkao_aqXI/VH3YlDx_nEI/AAAAAAAABe4/5pP2VFNIjXI/s1600/33.PNG"/>
<img
src="http://2.bp.blogspot.com/-wASAhhqBG1o/VH3YltvvQmI/AAAAAAAABfA/xb0SX9D7IyI/s1600/34.png"/>
Now click on “Check for Errors” button placed on the ribbon.
“The workflow contains no errors” message will be shown, click on OK button.
Click on Save button placed on the ribbon.
Now click on the name of workflow we created.
Define Settings and Start Options.
<img src="http://2.bp.blogspot.com/-
rI34YLmmpJY/VH3Yln03WcI/AAAAAAAABfQ/2t8V02rzuxg/s1600/35.png"/>
<img src="http://1.bp.blogspot.com/-
4379J50iwpA/VH3YmN6yzHI/AAAAAAAABfI/3Zs3gsYuDgE/s1600/36.PNG"/>
Click on Save button.
Click on Publish button.
Usefulness of content
Quality of content
Previous
Home
About
Products
Benefits
Testimonials
Blog
Contact
SharePoint Workflows Automate Business Processes
December 4, 2014
In general, workflow refers to a series of tasks that produce a particular outcome. For Microsoft SharePoint products and technologies, workflow is the automated movement of documents or items through a
sequence of actions or tasks that are related to a business process. Workflows can be used to consistently manage an organization’s common business processes by enabling the organization to attach business logic to
documents or items in a SharePoint list or library. Business logic is a set of instructions that specifies and controls the actions that happen to a document or item.
Workflows can streamline the cost and time required to coordinate common business processes, such as project approval or document review, by managing and tracking the human tasks involved with these
processes. For example, adding a workflow to a document library in a SharePoint site could then route a document to a group of people for approval. When the document author starts this workflow, the workflow
creates document-approval tasks, assigns these tasks to the participants, and then sends email alerts to the participants with task instructions and a link to the document out for approved. While the workflow is in
progress, the workflow owner or participants can check the Workflow Status page to see what tasks are completed. When all tasks are completed, the workflow ends and the owner is automatically notified that it is
completed.
SharePoint workflows 2013 offer several tools for common business scenarios:
Feedback: Routes documents or items to a group for feedback, which is then compiled and sent back to the initiator of the feedback workflow.
Signature collector: Routes documents or items to a group to collect their digital signatures.
Disposition approval: Manages document expiration and retention by allowing participants to decide whether to retain or delete expired documents; supports records-management processes.
Group approval: Similar to the Approval workflow, but uses a designated document library and offers a personalized view of the approval processes in which the user is participating.
Three-state: Manage business processes that require organizations to track a high volume of issues or items, such as customer-support issues, sales leads or project tasks.
These predefined workflows can be somewhat customized to meet different needs, but it is also possible to design and develop workflows for unique business processes. Workflows can be as simple or complex as
the business processes require. Developers can create workflows that are started by people who use a site, or they can create workflows that start automatically based on an event, such as when a list item is created or
changed. For more information about customizing workflows visit this SharePoint tutorial.
MH (Marc-Henri) Lauzon
MH Lauzon is President of the cloud-hosting provider ITUtility.NET, a Canadian leader in the cloud-hosting industry. With unparalleled expertise in Microsoft® SharePoint®, he has been helping
private- and public-sector organizations automate their business processes using that platform since 2003. www.itutility.net
Comments
0 comments