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 ...
随机推荐
- JMeter接口测试-计数器
前言 在测试注册接口的时候,需要批量注册账号时,每注册一个并且需要随时去修改数据,比较繁琐,除了使用随机函数生成账号,我们还可以使用计数器来进行批量注册. 一:添加配置元件-计数器 二:注册10个账号 ...
- STL迭代器的使用、正向、逆向输出双向链表中的所有元素
*/ * Copyright (c) 2016,烟台大学计算机与控制工程学院 * All rights reserved. * 文件名:text.cpp * 作者:常轩 * 微信公众号:Worldhe ...
- C++与引用2
*/ * Copyright (c) 2016,烟台大学计算机与控制工程学院 * All rights reserved. * 文件名:text.cpp * 作者:常轩 * 微信公众号:Worldhe ...
- 配置github——每次提交后使contributions有记录(有小绿格子)
# 配置github--每次提交后使contributions有记录(有小绿格子) 这几天都有将自己的代码提交到github上,但是在profile里的contributions的表格中没有我提交的记 ...
- 【攻略】如何在云开发中使用 Redis?
默认情况下,云开发的函数部署在公共网络中,只可以访问公网.如果开发者需要访问腾讯云的 Redis.TencentDB.CVM.Kafka 等资源,需要建立私有网络来确保数据安全及连接安全. 本文会演示 ...
- 爬虫(三)解析js,抓取优酷免费视频的真实播放地址
工具:google浏览器 + fiddler抓包工具 说明:这里不贴代码,[只讲思路!!!] 原始url = https://v.youku.com/v_show/id_XMzIwNjgyMDgwOA ...
- JZOJ 5305. 【NOIP2017提高A组模拟8.18】C (Standard IO)
5305. [NOIP2017提高A组模拟8.18]C (Standard IO) Time Limits: 1000 ms Memory Limits: 131072 KB Description ...
- 基于FPGA的三段式状态机
状态机分类: 通常, 状态机的状态数量有限, 称为有限状态机(FSM) .由于状态机所有触发器的时钟由同一脉冲边沿触发, 故也称之为同步状态机. 根据状态机的输出信号是否与电路的输入有关分为 Meal ...
- PHP的魔术常量(常用八大常量)
PHP的魔术常量都是由不同的扩展库定义的,只有在加载了这些扩展时才会出现,或者动态加载后 有八个魔术常量他们的值随着他们在代码中的位置改变而改变. __LINE__ 文件中的当前行号. 实列: &l ...
- macOS Catalina 升级软件问题
最近升级macOS Catalina系统,升级失败时多尝试几次就可以执行成功了,在使用过程中发现以下问题,大家谨慎升级!!! 存在软件启动不兼容,不存在已软件激活失效问题. 有道词典不兼容,启动异常 ...