Building Applications with Force.com and VisualForce(Dev401)(十二):Implementing Business Processes:Automating Business Processes Part 1
ev401-013:Implementing Business Processes:Automating Business Processes Part 1
Module Objectives
1.List the components of a multi-step approval process.
2.Implement a 3-step approval process.
3.Implement a 3-step approval process with an optional step in the middle(skip a step).
4.Create an escalation channel with time-dependent workflow.
5.Create a approval process with parallel approvers.
6.Create an outbound message as part of an approval process.
7.Create sophisticated approval process criteria with cross-object formulas.
8.View debug log.
9.Configure debug log to set category and level.
Module Agenda
1.Multi-Step Approval Processes
2.Skipping Steps in Approval Processes
3.Keeping Things Moving with Time-Dependent Workflow
4.Approval Processes with Parallel Approvers
5.Keeping System in Sync with Outbound Messaging
6.Keeping Your Processes Flexible with Dynamic Approval Routing
7.Monitoring Your System Processes
Universal containers Scenario
1.Universal Containers(UC) wants to institute a company wide policy whereby positions submitted hiring managers go through a standardized approval process before being released to internal or external audiences.
2.All open positions submitted by hiring managers must be routed to the recruiting staff for approval before any job applications are permitted.
1.Approval processes are single or multi-step process which require end user authorization for record promotion.
How Do I Define an Approval Process?
1.Process Definition
- Which records should enter this process?
- What settings should apply yo the whole process?
2.Initial Submission Actions
- What happens when a record is submitted for approval?
3.Step Definition
- Who should records be routed to?
4.Final Rejection Actions
- What happens when a record is rejected?
5.Final Approval Actions
- What happens when a record is approved?
6.Recall Actions
- What happens if a record is recalled from the process?
Process Visualizer
1.Provides a visual representation (read-only) of your approval processes
2.Hover over or expand step to see details
3.The Process Visualizer is currently in BETA - send us your feedback!
Skipping Steps
1. A skip step is a step that has criteria defined to determine whether or not this approval is required.
2.In processes that have steps that are optional depending on criteria, use the skip step deature.
3.To skip steps use filter criteria or formula, then choose what should happen to rcords that do not meet the criteria. The options are:
- Approve Record - approves the request and performs all final approval actions.
- Go to Next Step - skips this step and goes to the next step.
Quick Review: Workflow
1.What is workflow?
Automatic action
2.What are the two methods for defining workflow criteria?
Only when a record is created or Every time a record is created or edited
3.What are the two parts of workflow?
Criteria and Action
4.What are the four actions of a workflow rule?
Field update; Text; Email alert ;Send outbound message
What is Time-Dependent Workflow?
1.Workflow actions can be:
- Immediate:actions fire as soon as a record meets the criteria
- Time-Dependent:actions fire based on elapsed time (evaluated off of any date field in Salesforce)
2.Time-dependent actions have a time trigger
3.With time-dependent actions, the action is queued to fire as soon as the workflow criteria is meet; However, the action will not occur until it meets the time trigger.
Time- Dependent Workflow Considerations
1. Time-dependent workflow cannot be used when a rule is set to be evaluated every time a record is created or updated.
2.When a new workflow rule is created, it does not affect existing records.
3.Developers can monitor and remove pending actions by viewing the time-dependent workflow queue
4.If a record that has an action pending against in the time-based workflow queue is modified so that the reocrd no longer meets the criteria, or the timing changes, the action will be updated in the queue.
Time-Dependent Workflow Use Cases
1.If an the status of an offer is Sent for more that 2 days, assign a task to the owner of the offer reminding them to follow up.
2.If the number of interviewers associated with a position is zero for more than 30 days after the position is created, send an email to the hiring manager.
3. If a critical position remains in an Open status for more than 14 days, assign a task to the owner.
Let's Compare... Workflow Rules & Approval Processes
1.Workflow Rules
.Are triggered upon save
.Consist of one set of criteria and actions
.Can be modified or deleted
2.Approval Processes
.Are triggered only when a user clicks "Submit for Approval"
.Consist of multiple steps
.Have entry criteria, step criteria, and step actions
.Have initial submission actions,rejection and approval actions, and actions for each step.
.Some attributes can't be modified, processes must be deactivated before the can be deleted.
3.Workflow Rules and Approval Processes can be used together.
Building Applications with Force.com and VisualForce(Dev401)(十二):Implementing Business Processes:Automating Business Processes Part 1的更多相关文章
- Building Applications with Force.com and VisualForce(Dev401)(十四):Implementing Business Processes:Auditing Processes
Dev401-015:Implementing Business Processes:Auditing Processes Module Objectives1.list some of the fe ...
- Building Applications with Force.com and VisualForce(Dev401)(十):Designing Applications for Multiple Users: Building Business Processes that You Want
Dev401-011: Building Business Processes that You Want Course Objectives1.Describe the capabilities o ...
- Building Applications with Force.com and VisualForce(Dev401)(十八):Visualforce Pages: Introduction to Visualforce
Dev401-020:Visualforce Pages: Introduction to Visualforce Course Objectives1.Understand the benefits ...
- Building Applications with Force.com and VisualForce (DEV401) (二五):Visualforce Controller
Dev401-026:Visualforce Pages: Visualforce Controller Module Objectives1.Identify the functionality ...
- Building Applications with Force.com and VisualForce (DEV401) (二一):Visualforce Componets (Tags) Library Part 1
Dev401-022:Visualforce Pages: Visualforce Componets (Tags) Library Part 1 Module Objectives1.List ke ...
- Building Applications with Force.com and VisualForce (DEV401) (二四):JavaScript in Visualforce
Dev401-025:Visualforce Pages: JavaScript in Visualforce Module Objectives1.Describe the use of AJAX ...
- Building Applications with Force.com and VisualForce (DEV401) (二二):Visualforce Componets (Tags) Library Part II
Dev401-023:Visualforce Pages: Visualforce Componets (Tags) Library Part II Apex:pageBlockTable1.A ...
- Building Applications with Force.com and VisualForce (DEV401) (二十):Visualforce Pages: Visualforce Componets (Tags)
Dev401-021:Visualforce Pages: Visualforce Componets (Tags) Module Agenda1.Tag Basics2.Tag Bindings T ...
- Building Applications with Force.com and VisualForce(Dev401)(十九):Visualforce Pages: Visualforce Componets (Tags)
Dev401-020:Visualforce Pages: Visualforce Componets (Tags) Module Agenda1.Tag Basics2.Tag Bindings T ...
随机推荐
- 线上SpringCloud网关调用微服务跨机房了,咋整?
1.前言 公司内考虑到服务器资源成本的问题,目前业务上还在进行服务的容器化改造和迁移,计划将容器化后的服务,以及一些中间件(MQ.DB.ES.Redis等)尽量都迁移到其他机房. 那你们为什么不用阿里 ...
- 添加Windows 10开机启动项:No Hyper-V
在Windows 10 1903版本加入了一项沙盒功能,1903版本以上的系统可以在控制面板-程序和功能-启用或关闭Windows功能中勾选Windows 沙盒选项,根据操作重启后即可打开沙盒功能. ...
- 将list集合按指定长度进行切分,返回新的List<List<??>>集合
Lists.partition public class testList { @Test public void test(){ List<Integer> numList = List ...
- Vue2.0组件的继承与扩展
如果有需要源代码,请猛戳源代码 希望文章给大家些许帮助和启发,麻烦大家在GitHub上面点个赞!!!十分感谢 前言 本文将介绍vue2.0中的组件的继承与扩展,主要分享slot.mixins/exte ...
- direction和writing-mode的介绍
direction介绍 属性值和兼容都很好 CSSdirection属性简单好记,属性值少,兼容性好,关键时候省心省力,是时候给大家宣传宣传,不要埋没了人家的特殊技能. Chrome Safari F ...
- angularV4+学习笔记
angular学习笔记之组件篇 1注解 1.1组件注解 @Component注解,对组件进行配置. 1.1.1注解@Component的元数据 selector template/templateUr ...
- LCN解决分布式事务原理解析+项目实战(原创精华版)
写在前面: 原创不易,如果觉得不错推荐一下,谢谢! 由于工作需要,公司的微服务项目需解决分布式事务的问题,且由我进行分布式事务框架搭建和整合工作. 那么借此机会好好的将解决分布式事务的内容进行整理一下 ...
- Block详解一(底层分析)
本篇博客不再讲述Block的基本定义使用,最近而是看了很多的block博客讲述的太乱太杂,所以抽出时间整理下block的相关底层知识,在讲述之前,提出几个问题,如果都可以回答出来以及知道原理,大神绕过 ...
- session、cookie和taken的区别
http是无状态的协议,所以要维持应用的会话形式,就需要加入以下几种机制,来进行会话跟踪,识别用户身份(当同一用户进行多次操作,不用反复请求建立新的连接,从而节省服务器资源和处理速度) 生成位置 ...
- 为什么 String 是 immutable 类
二哥,你能给我说说为什么 String 是 immutable 类(不可变对象)吗?我想研究它,想知道为什么它就不可变了,这种强烈的愿望就像想研究浩瀚的星空一样.但无奈自身功力有限,始终觉得雾里看花终 ...