The Approval Settings section represents options that span the lifetime of the overall process, while the Per Task Settings section defines options that only apply to a single task.. © C
Trang 2nee H th ng bài cũ
=» Tim hi uv Business Connectivity Services
= Tim hi uv External Content Types
= Tim hi uv các côngc xây d ng gi ¡ pháp BCS
® SharePoint Designer 2010: Không code
® Visual Studio 2010: C n code
Lu ng công vi c - Workflow
Trang 3= Tim hi uthu tng c a SharePoint 2010 Workflow
# Tim hi ucaclo i Form d cs d ng trong SharePoint
Trang 4= Workflow: lam † quá trình đ nh nghĩa và ki m soát s
hoàn thành c am tho cnhi u công vi ctheoth t d dtd cm tm tdích nào đó
® Nh ng cong vi cnay thongth ng đòih ¡th c thi trong
m tth ¡ gian dài cóth hàng ngày, hàng tu n, hàng thang
ho chang nam
Lu ng céng vi c - Workflow
Trang 5ee DB ng! cnaothucd y Workflow
= T đ ng hóa các quy trinh nghi pv doih i Workflow
® Quy trìnhx lý đ n hàng
® Quy trinh yeuc ub ith ngb ohi m
= Qu ntr n i dung doih i Workflow
® Quy trình thu th p ý ki nph nh i (Feedback)
® Quy trình duy t tài li u (Document Approval)
® Qu n lý vòng đ ¡ic atàili uvàh s công vi c
Lu ng céng vi c - Workflow
Trang 8me State Machine: Workflow tr ng thái
= State Machine Workflow: May tr ng thai
e*Th hínd ¡im tt pcáctr ng thái s chuy n giao và
các hành đ ng
® Không gi ¡ihns | ngcácb ccnth chi n
® Phù h pv I¡ các bài toán ph ct p khi mà vi c chuy n
trngtháiđ cki msoatb icacs ki n bên ngoài
Lu ng céng vi c - Workflow
Trang 9BIG 0 1 Khac nhau gi a
FPT POLYTECHNIC Event Receiver va Workflow
Event Receiver Workflow
Trang 11GG Cacl ach n
m Xây d ng Workflows d ng SharePoint Designer
®D dang xay d ng cac Workflow ma khong ph i dung d n code
®*Ch gi ih nchomts Workflowv ib quyt cd c
đnh nghĩatr c
® Không có kh năng tái s d ng
Trang 12
v i List va Content type
lién quan Workflow
Trang 13wo ong d ixayd ngvas d ng Workflow
L ptrình viên vi t L ptrình viên trí n ta
workflow khai Workflow Qu ntr vien Farm
template théng qua tri n khai Workflow
template Feature va Solution
d ng workflow association chom t a —_ no
instance list ho c content pce he
j type | Workflow (Activate) |
Workflowth c thi Qu ntr cóth s a
nh cá Gạo 1 Worktow ton Wert
— quatrinh th c thi OFKTIOW
va history items
Trang 16
opr poLvrreEic 4 Lo iWorkflow Forms
Trang 17BG 2
= Workflow Modification:
® Form nay xu thi n khi gu ntr mu n thay d | Workflow
trong quá trình no th c thi
Trang 18¡ pháp Workflow không c n Code
http:/Avinatir.coTmi - Mi:r350†t 5SharaPotrit Vesicner [ echnical Freview!
đ@Ñj <Ở vioveL 1 + 3 Else If Eranch —— (=
4 Š; G & ` =] Move Cown reste $7 tạ để {UL} Parallel Bock ER, = GFA
Cnece Publish Publish Fxpar ârzanrerl Condition Art - Fore Inral Association for Crrors Globally to Visio | P-operties X Delete ~ - “) Imoerscnaticn Step Parameters Variables Columns Manage Nodfy In:crt Variables
= " / \
SharePoint Site < |/ My Worsflew* \"3 \
Navigetion m ~ f§ Updated by workflo: <flows » My Workflow * My
fh Upcated by workflow
it
FQ Site Pages Step 1
a Lists end Libraries eee (Start typ ng or use the Insert group in { = ia i
Ti) sts 2 ' Recent Actions ^
1 Send an Email
Content Types
8 Data Sources Ertitles Subsites All Files Wurkflows x
Common Conditions `
If any value equa Assign a To-do Item
If current item fie} Wait for Field Change in Current Item Other Conditions
Check exact list it)
Add a Comment Approval Actions Assign Item For Approval Check list item pe
Created by a spec Assign Item For Feedback
General Task Process Core Actions
Modified by a spi
Add a Comment Created in a spec
Modified in a spe
Add Time to Date Person is a valid $
Do Calculation Title field contain
Log to History List
Trang 19
fies SharePoint Designer Workflows
6\a a Ww * server, eam - e -ox
Workflow
for Errors Publish to Visio
` If field equals value
& Collect Feedback (5
& Collect Signatures ( The following actions will run in parallel:
Trang 20„8/7“ SharePoint Designer Workflows
" Có côngc thi tk Task riéng bi t cho Workflow
bó l7 My Workflow * YG Approval Proces ( Ù3 \
v ta Updated by workflow > Workflows > ItemWF > Editor >» Approval Process > (2)
A Use this page to define and customize your overall task process The Approval Settings section represents options that span the lifetime of the overall process, while the Per Task Settings section defines options that only apply to a single task
Task Information “ Task Form Fields — } New © Choose existing field «
Use this part to change the name and owner of the task process A list of form fields displayed in the task completion form
Column Name vị Type v | Pr
Name: Approval Process
Owner: <click to edit>
Building the Column Editor report
® Return to the workflow ‘| | »|
8 Change the completion conditions for this task process
8 Change the behavior of a single task
Outcomes define the set of buttons shown in the task completion form
@ Change the behavior of the overall task process Sequence ^ vị Name vị Task Form B vị
1 Approved Approve
2 Rejected Reject
Change settings for the task
[~ Only allow task recipients and process owners to read and edit workflow tasks
Clk=se: t- £¬ll=se.im= ==mm=a¬mazl> an thn tack fae:
Trang 22Haine Visual Studio 210 Workflows
=" Cokh nangtais dng Workflowd cthitk t
sharePoint Designer thong quac ch_ Impport/Export
=" H tr vi ct ocac ASPX form template cho cac lo i form
sau trén Workflow : =
® Association
® |nitiation
Per user extersons ere currendy rot alowec to load, Enable loading of per user extensons
Nane: [Worklow\ccociato Fern 1 acpx
Trang 24
oom T ngk tbaih c
= Ben c nh các Workflow cos n,ng idungcoth xây
d ng Workflow khong dung code s_ d_ ng SharePoint
Designer 2010 ho ccac Workflow ph ct ps d ng
Visual Studio 2010
="Co4lo iformd cs d ng trong Workflow
® Association, Initiation, Modification, Workflow status