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 ...
随机推荐
- java.lang.SecurityException: class "javax.servlet.AsyncContext"'s signer information does not match signer information of other classes in the same package
最近在写个Http协议的压测挡板时,遇到以下错误. 2018-03-08 10:34:07.808:INFO:oejs.Server:jetty-8.1.9.v20130131 2018-03-08 ...
- 创建SpringMVC项目过程
1.导入对应jar包 <properties> <spring.version>5.0.2.RELEASE</spring.version> </proper ...
- PHP文件上传 (以上传txt文件为例)
1.前端代码 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <ti ...
- 7-45 jmu-python-涨工资 (10 分)
输入一组工资数据,写入列表.对于小于5000的工资,涨1.5倍.并输出涨后的工资数据. 输入格式: 数据之间空格隔开 输出格式: 涨工资后的数据,空格隔开.尾部 不带空格. 输入样例: 3000 40 ...
- 网页入侵最后一道防线:CSP内容安全策略
首先,什么是最后一道防线?网页入侵都有一个过程,简单来说,就是1.代码注入,2.代码执行. 对于黑客来说,代码注入后并不代表就万事大吉了,因为此时代码只是安静地躺在受害者的服务器里,什么坏事都没干呢! ...
- CSS盒子模型以及外边框合并的问题
盒子模型 我们把布局里面的所有东西都可以想象成一个盒子,盒子里面又装着小盒子,小盒子里面又装着小小盒子......所以布局的万物基于盒子.即使一个小小的元素p,也可以把它抽象成为一个盒子.你现在心里有 ...
- 在shell脚本中调用sql语句
查询员工信息 -S:静默登录 [oracle@localhost shells]$ cat shell1.sh #!/bin/bash #查询员工信息 sqlplus -S /nolog <&l ...
- 如何在PHP7中扩展mysql,先安装php7.2。后安装mysql
相对与PHP5,PHP7的最大变化之一是移除了mysql扩展,推荐使用mysqli或者pdo_mysql,实际上在PHP5.5开始,PHP就着手开始准备弃用mysql扩展,如果你使用mysql扩展,可 ...
- python学习-练习题4巩固
一个数加100后是一个整数的平方,加268后也是一个数的平方,求这个数 分析:这个数加100之后开方是整数,说明int(math.sqrt(a+100))转为整数应该没有小数部分 so:b*b = i ...
- python学习基础之变量
变量名只能包含字母.数字和下划线.变量名可以字母或下划线打头,但不能以数字打 头,例如,可将变量命名为message_1,但不能将其命名为1_message. 变量名不能包含空格,但可使用下划线来分隔 ...