AUS Building Workflow Solutions with K2 Studio Intermediate.pptx_第1页
AUS Building Workflow Solutions with K2 Studio Intermediate.pptx_第2页
AUS Building Workflow Solutions with K2 Studio Intermediate.pptx_第3页
AUS Building Workflow Solutions with K2 Studio Intermediate.pptx_第4页
AUS Building Workflow Solutions with K2 Studio Intermediate.pptx_第5页
已阅读5页,还剩22页未读, 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Building Workflow Solutions with K2 Studio - Intermediate,This learning module describes how to use K2 Studio to create workflow solutions with an intermediate level of complexity,200.AUS Version:1 Revision:4 Duration: 2 hours, SourceCode Technology Holdings, Inc. All Rights Reserved,Module prerequi

2、sites and target audience,Target Audience Workflow designers (e.g. Business Analysts, Analyst Programmers) Workflow developers (e.g. .NET Developers, SharePoint developers) Prerequisite knowledge Fundamental knowledge of K2 workflows and K2 Studio(100.IAH learning module or equivalent knowledge) Com

3、patibility K2 blackpearl V 4.5 update 1420 or higher Scope Advanced activity planning Workflow Execution models and design patterns Design and implementation principles for workflows Referencing External assemblies in workflows (no-code),K2 Workflow Terminology refresh,Process/Workflow,Activity,Outc

4、omes,Client Event (User Task),Server Event,Lines with Line Rules,Event,Lines,Plan = How many times to execute the activity Slots = The Number of Open Work Items that can exist,Activity Rules and the sequence of execution,Activity Planning,Preceding Rule,What Conditions must be true before the activi

5、ty is allowed to exist,Start Rule,When (point in time) can the activity start,Destination Rule,Who must receive the work in the activity,Escalation Rule,What action to take and when to take the action if the activity is not completed (ignore or consider working hours),Events,Work performed (in linea

6、r order) Execution pauses for Client Events or asynchronous Server Events,Outcomes(Succeeding Rule),What Conditions must be true before the activity is allowed to complete. Multiple outcomes are possible,Actions and Outcomes,Actions What a participant can do with a Task (e.g. their decision) Outcome

7、s Result of the Actions performed by the workflow participant(s) Actions and Outcomes are defined in the workflow, not in the UI,OUTCOMES,ACTIONS,Activity Planning and Slots,Activity Planning How many instances/copies of the Activity should start Whether the activities start in serial or parallel fa

8、shion Slots How many instances/copies of the Task should be created Used to capture multiple inputs for the same task (The following two slides use animations to explain the behavior of these options),Slots and Outcomes (1/2),1 Activity Slot(plan per destination),Preceding Rule,Start Rule,Outcome,Se

9、rver Event,Client Event,Server Event,Destination Rule,K2 Worklist,Slots and Outcomes (2/2),3 Activity Slots(plan per destination),Preceding Rule,Start Rule,Outcome,Server Event,Client Event,Server Event,Destination Rule,K2 Worklist,x 5,Lab 1: Advanced Destination Rules and Activity Rules,This guided

10、 lab exercise just illustrates where to access and how to set advanced destination rules and other rules on an activity.,10 minutes,Workflow Execution Models and Design Patterns*,Workflow Execution Models Sequential Execution Parallel Execution Hybrid Execution Workflow Design Patterns Parent/Child

11、Workflows (IPC) Rework pattern Looping activities N-Level Approval Pattern Spider Pattern Examples of each are shown in the following slides Examples are also available in the project C:K2 Learning200.AUSWorkflow Models and Design PatternsK2Learning.k2proj,Workflow Execution Models: Sequential,Workf

12、low Execution Models: Parallel*,(*Animation slide follows that illustrates the approach),Parallel Processing and Preceding rules,Activity rules,Finance User,HR User,Executive User,User Tasks,Finance Dept,HR Dept,Executive Approval,Workflow Execution Models: Hybrid,Workflow Design Patterns: Parent-Ch

13、ild (IPC),Use the IPC Event Wizard Behavior: Synchronous: Wait for child to completeOR Asynchronous: Continue without waiting (fire-and-forget) Passing Data between the workflows Send Field mappings: pass data from the parent to the child Return field mappings: pass data from the child back to the p

14、arent.(Only available for the “Synchronous: wait for child” behavior),IPC (Parent-Child) workflow implementation,Workflow Design Patterns: Rework,Workflow Design Patterns: Loop,Workflow Design Patterns: n-Level Approval,Workflow Design Patterns: The Spider Pattern,LAB 2: Repeating a server activity

15、and starting multiple sub-processes,In this lab exercise you will learn how to use a repeating destination and the IPC event wizard to start multiple instances of a child workflow.,10 minutes,Design and Implementation Principles,Clarity,Control,Integration,Re-use,Use a logical Project structure appr

16、oach Format Workflow layout and use color-coding Implement Naming Conventions,Externalize Business Rules Use context fields, not hard-coded values Define Environment fields for environment-specific settings Generate dynamic content Leverage existing security,Store data externally Use SmartObjects to

17、 integrate with systems Use Services and APIs if SmartObjects are not possible,SmartObject References Item References Re-usable components SmartObjects Workflows Code Services Reports Views and Forms,LAB 3: Clarity: Formatting a workflow layout for clarity,In this lab exercise, you will design a pro

18、cess for clarity using recommended approaches for layout, naming conventions and color-coding.,10 minutes,Show Context,LAB 4: Re-Use: Adding a Reference (“Shortcut”) to a SmartObject method,This guided lab exercise illustrates a little-known feature that will make your life a lot easier! Specificall

19、y, you will learn how to add a reference (“shortcut”) to a SmartObject method.,10 minutes,Integration: Using external assemblies or services in a workflow (no-code option),Code Reference Event Add a reference to the service/assembly(Process Properties) Static Method: Use Code reference events Call a static method to call a static method in the assembly Instance Method: Use Code reference events Call a Constructor action to instantiate a class Save the class object to an Instance object in the activity Use Code reference events Call an instance method to call a method on

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论