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 ...
随机推荐
- 在使用vue+webpack模版创建的项目中使用font-awesome
前言:最近使用vue+webpack进行一个小项目的开发,按照官方模版文档完成项目初始化后打算引入ont-awesome字体图标库进行使用,引入过程中遇到一些问题并解决,现记录如下. 一开始进展很顺利 ...
- XML的相关基础知识分享(二)
前面我们讲了一下XML相关的基础知识(一),下面我们在加深一下,看一下XML高级方面. 一.命名空间 1.命名冲突 XML命名空间提供避免元素冲突的方法. 命名冲突:在XML中,元素名称是由开发者定义 ...
- VMware安装CentOS6.X 系统
1.虚拟机中的"CD/DVD(IDE)"配置好Linux映像文件后,打开虚拟机,点击"开启此虚拟机" 2.进入光盘启动界面,选择第一项,表示安装升级Linux系 ...
- win10安装LoadRunner时,安装.net framwork组件报0x800F081F错误 解决办法
一.报错原因 0x800F081F错误大多数是在安装软件时,系统无法联网自动下载安装. 经过各种排查及搜索解决方案,总结原因无非以下三种: 1.windows update被禁用. 2.电脑没有.ne ...
- mysql 存储过程 执行存储过程修改了表中所有行的信息
存储过程中的where条件语句,如果传入的参数和表字段名相同,存储过程就会把这个约束条件忽略.小结:存储过程中传递的参数名不要和字段名相同.特别是修改.删除等操作,可能会对整张表产生影响.后果会很严重 ...
- 网页程序迁移至微信小程序web-view详解
小程序现在越来越流行,但是公司的很多项目都是用网页写的,小程序语法不兼容原生网页,使得旧有项目迁移至小程序代价很高: 小程序之前开放了webview功能,可以说是网页应用的一大福音了,但是微信的web ...
- js中 __proto__ 和 prototype
js中的对象都有__proto__属性存在[隐式原型],注意是两个_, 1,javascript对象的__proto__指向的是该对象的构造函数的原型对象,即constructor.prototype ...
- plist 图集 php 批量提取 PS 一个个切
最近,迷上了用 cocos2d 做游戏开发.由于是新入门,很多东西从头开始学. 在使用 sprite 的 Rect 裁剪显示的时候,显示总是多一块.所以,要从图集中提取一张张图,这样就省了裁剪. 原图 ...
- openwrt MT7620A MT7610E 5G 驱动添加移值
使用 github 上别人提供好的源码.整合到最新的 openwrt 18 中,目前 kernel 的版本为 4.1 . 编辑中....
- Simulink仿真入门到精通(六) Simulink模型保存为图片
6.1 截图保存方式 Ctrl+Alt+A 6.2 拷贝试图方式 Edit→Copy Current View to Clipboard 6.3 saveas函数 用于保存figure或者simuli ...