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.

3.UC needs to learn how approval workflow can be leveraged to establish uniform position approval processes in the Recruiting app.
 
Approval Processes

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的更多相关文章

  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 ...

  2. 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 ...

  3. 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 ...

  4. Building Applications with Force.com and VisualForce (DEV401) (二五):Visualforce Controller

    Dev401-026:Visualforce Pages: Visualforce Controller   Module Objectives1.Identify the functionality ...

  5. 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 ...

  6. 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 ...

  7. 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 ...

  8. 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 ...

  9. 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 ...

随机推荐

  1. 安卓权威编程指南 -笔记(18章 处理assets)

    resources资源可以存储声音文件,但当处理多个音乐文件时,效率会很低. assets可以被看作随应用打包的微型文件系统,支持任意层次的文件目录结构.类似游戏这样需要加载大量图片和声音资源的应用通 ...

  2. Filter过滤器Listener:监听器

    Filter过滤器 1. 概念 web中的过滤器:当访问服务器资源是,过滤器可以将请求拦截下来,完成一些特殊功能: 过滤器的作用 完成通用的操作:例如登录验证.统一编码处理.敏感字符过滤... 快速入 ...

  3. MySQL之单表多表查询

    #1.单表查询 #单表查询语法 select <字段1,字段2....> from <表名> where <表达式> group by field 分组 havin ...

  4. 丰富图文详解B-树原理,从此面试再也不慌

    本文始发于个人公众号:TechFlow,原创不易,求个关注 本篇原计划在上周五发布,由于太过硬核所以才拖到了这周五.我相信大家应该能从标题当中体会到这个硬核. 周五的专题是大数据和分布式,我最初的打算 ...

  5. 遍历tree

    1.解决方法 filterData (arr) { var newArr = [] arr.map((item) => { var childrenArr if (item.children ! ...

  6. 基于springcloud搭建项目-Ribbon篇(三)

    这篇文章主要是介绍一下ribbon的用法,我们都知道ribbon是负载均衡,但是却不知道他是怎么样的负载均衡,怎么用,能干嘛? ● 其实,简单的说,Spring Cloud Ribbon是基于Netf ...

  7. sonarqube配置全指南,集成阿里巴巴p3c规范

    环境准备 内置数据库 Sonar安装成功后,默认内置H2数据库,用于记录单次的扫描结果,对同一个project重复扫码,会覆盖之前的扫描记录,所以H2 数据库只应用于测试,不可以用于生产环境,那如果你 ...

  8. Python中使用subprocess模块远程执行命令

    使用subprocess模块执行远程命令 服务端代码 1 import socket 2 import subprocess 3 4 sh_server = socket.socket() 5 sh_ ...

  9. ggplot2(5) 工具箱

    5.1 简介 ggplot2的图层化架构鼓励我们以一种结构化的方式来设计和构建图形.本章旨在概述可用的几何对象和统计变换,在文中逐个详述.每一节都解决一个特定的作图问题. 5.2 图层叠加的总体策略 ...

  10. MATLAB神经网络(2) BP神经网络的非线性系统建模——非线性函数拟合

    2.1 案例背景 在工程应用中经常会遇到一些复杂的非线性系统,这些系统状态方程复杂,难以用数学方法准确建模.在这种情况下,可以建立BP神经网络表达这些非线性系统.该方法把未知系统看成是一个黑箱,首先用 ...