Professional Documents
Culture Documents
WORKFLOWS
The entire contents of this document are subject to copyright with all rights reserved. All copyrightable text and graphics, the selection, arrangement and presentation of all
information and the overall design of the document are the sole and exclusive property of Virtusa.
Workflow is a term used to describe the tasks, procedural steps, organizations or people involved,
required input and output information, and tools needed for each step in a business process.
You can configure your organization's workflow by creating workflow rules. Each workflow rule
consists of:
Time-dependent actions that queue when a record matches the criteria, and execute according to
time triggers.
Workflow Actions:
• Tasks—Assign a new task to a user, role, or record owner.
• Email Alerts—Send an email to one or more recipients you specify.
• Field Updates—Update the value of a field on a record.
• Outbound Messages—Send a secure, configurable API message (in XML format) to a designated
created, and every time it’s edited Evaluate the rule criteria each time a record is created or
updated. If the rule criteria is met, run the rule.
Note
You can't add time-dependent actions to the rule if you select this option.
created, and any time it’s edited to subsequently meet (Default) Evaluate the rule criteria each time a record is
criteria created or updated. For a new record, run the rule if the rule
criteria is met.
For an updated record, run the rule only if the record is
changed from not meeting the rule criteria to meeting the
rule criteria.
With this option, the rule can run multiple times per record,
but it won’t run when the record edits are unrelated to the
rule criteria.
Suppose that for an opportunity record to meet the rule criteria, the opportunity
probability must be greater than 50%. If you create an opportunity with a
probability of 75%, the workflow rule runs. If you edit that opportunity by
changing the probability to 25%, the edit doesn’t cause the rule to run. If you then
edit that opportunity by changing the probability from 25% to 75%, the edit
causes the rule to run. With this last edit, the rule runs because the record is
changed from not meeting the rule criteria to meeting the rule criteria.
1. To add an immediate workflow action, click Add Workflow Action in the Immediate Workflow Actions section
and select one of the following to associate with the rule.
New Task
New Email Alert
New Field Update
New Outbound Message
Select Existing Action
2. To add a time-dependent workflow action, click Add Time Trigger in the Time-Dependent Workflow Actions
section and:
a) Specify a number of days or hours before or after a date relevant to the record, such as the date the record
was created or modified. If the workflow rule is in effect when this time occurs, the time trigger fires the
workflow action.
b) Click Save.
Salesforce doesn't trigger a workflow rule until you activate it. To activate a workflow rule,
click Activate on the workflow rule detail page. Click Deactivate to prevent a rule from triggering or if
you want to edit the time-dependent actions and time triggers associated with the rule.
References:
Salesforce work Book :
http://www.salesforce.com/us/developer/docs/fundamentals/salesforce_creating_on_demand_apps.pdf
Video : www.youtube.com/watch?v=Y40dG1MqBHo
US - Boston, New York UK - Windsor, London India – Hyderabad, Chennai Sri Lanka - Colombo
© 2010 All rights reserved. Virtusa and all other related logos are either registered trademarks or trademarks of Virtusa Corporation in the United States, the European Union, and/or India. All
other company and service names are the property of their respective holders and may be registered trademarks or trademarks in the United States and/or other countries.