Contents
How do I trigger a workflow rule in salesforce?
Required Editions and User Permissions
- From Setup, enter Workflow Rules in the Quick Find box, then select Workflow Rules.
- Click New Rule.
- Choose the object to which you want this workflow rule to apply.
- Click Next.
- Give the rule a name and description.
- Set the evaluation criteria.
- Enter your rule criteria.
How do I change the last modified by in salesforce?
To update the last modified date on the Case from new Case Comments, follow the below steps:
- Create a Date/Time field on your case.
- Create a Workflow Rule on the Case Comment that triggers every time a record is created or edited.
- As Workflow Criteria, use a formula that will always be true.
What is the difference between workflow rules and triggers?
What is difference between trigger and workflow? Workflow is automated process that fired an action based on Evaluation criteria and rule criteria. We can access a workflow across the object. Trigger is a piece of code that executes before or after a record is inserted or updated.
How to configure triggers in your workflow?
Instead of relying upon developers to manually update the status of issues after committing code, completing reviews, creating branches, etc, you can configure triggers in your workflow to automatically transition issues when these events occur in your development tools.
How to add last activity to workflow criteria?
Since SF groups Tasks and Events into a composite called Activities. The meaning of the LastActivity field on an Account is non-intuitive. Perhaps LastActivity should include Case and Task / Event activity, or new fields for LastCaseActivity and LastTaskActivity should be added.
When to use null or createdate in workflow?
This would be especially helpful on a Case, to be able to trigger workflows when the LastActitivityDate is null or CreateDate-LastActivityDate>3, for example. Robert Kleinschmidt – 10 years ago Since SF groups Tasks and Events into a composite called Activities.
When to use last activity and last modified date?
Both of these fields are available in reporting, but would be very valuable in workflow as well. For example, when Last Activity > 1 year, Last Modified Date > 1 year, etc. IdeaExchange Moderator – 6 years ago