I have a workflow rule with Evaluation Criteria: Every time a record is created or edited. This will not allow me to use time dependent workflow.
So I created a check box field that is checked upon approval of the contract (as part of my approval process). Then I created a workflow rule with Evaluation Criteria: When a record is Created or when a record is edited and didn't meet previous criteria - and the formula states when this checkbox equals true. But this isn't working.
Any ideas? My goal is trigger a set of tasks when the Contract is Activated and I need some of them to be Time-dependent. I also need to trigger a different set of tasks depending on the Record Type.
3 respostas
Maybe this can help: Notes on Using Workflow Rules
Available in: Enterprise, Unlimited, Developer, and
Database.comEditions
Standard Objects are not available in Database.com
User Permissions Needed To view workflow rules: “View Setup and Configuration” To create or change workflow rules: “Customize Application”
Consider the following when configuring workflow rules:
- Each workflow rule applies to a single object, such as leads, accounts, or opportunities. For the maximum number of workflow rules allowed on an object, see Salesforce Editions and Limits.
- For standard objects, workflow rules can only perform field updates on the object related to the rule. The exceptions are that both Case Comments and Email Messages can perform cross-object field updates on Cases. For all custom objects, however, you can create workflow actions where a change to a detail record updates a field on the related master record. Cross-object field updates only work for custom-to-custom master-detail relationships. For example, in a custom recruiting application, create a workflow rule that sets the status of an application (the master object) to “Closed” when a candidate (the detail object) accepts the job. Or, for standard objects, create a rule to change the status of a case from “Awaiting Customer Response“ to “In Progress” when a customer adds a case comment.
- The cross-object field update function may depend on certain critical updates being active. Click Your Name | Setup | Critical Updates to see if your organization requires any updates.
- Workflow rules can't be triggered by campaign statistic fields, including individual campaign statistics and campaign hierarchy statistics. For a list of campaign fields that cannot trigger workflow rules, see Campaign Fields.
- Workflow rules can be triggered any time a record is saved or created, depending on your rule criteria. However, rules created after saving records aren't triggered by those records retroactively.
- Workflow rules are triggered when a standard object in a master-detail relationship is re-parented, even if the object's evaluation criteria is set to When a record is created, or when a record is edited and did not previously meet the rule criteria.
- Workflow rules only trigger on converted leads if validation and triggers for lead convert are enabled in your organization.
- Workflow rules on custom objects are automatically deleted if the custom object is deleted.
- You can't package workflow rules with time triggers.
- Workflow rules trigger automatically and are invisible to the user. Alternatively, approval processes allow users to submit records for approval.
- The order in which actions are executed is not guaranteed. Field update actions are executed first, followed by other actions.
- You can't create email alerts for workflow rules on activities.
- You can't create outbound messages for workflow rules on junction objects.
- To create workflow rules that update case fields based on new case comments or incoming email messages, choose Case Comment or Email Message from the Select Object drop-down list; Email Message is only available if Email-to-Case or On-Demand Email-to-Case is enabled. You can only create email message workflow rules for field updates, and case comment workflow rules for field updates, email alerts, and outbound messages. For example, you can create a workflow rule so that an email marked as Is Incoming changes its case's Status from Closed to New.
- Saving or creating records can trigger more than one rule.
- The following actions don't trigger workflow rules:
- Mass replacing picklist values
- Mass updating address fields
- Mass updating divisions
- Changing the territory assignments of accounts and opportunities
- Converting leads to person accounts
- Changes you make to records while using Connect Offline are evaluated by workflow rules when you synchronize.
- Salesforce processes any rules in the following order:
- Validation rules
- Assignment rules
- Auto-response rules
- Workflow rules (with immediate actions)
- Escalation rules
- Workflow rules and entry criteria for approval processes and steps respect the user's locale and aren't triggered when the user is in a different language than that of the organization.
- If a lookup field references a record that is deleted, Salesforce sets the lookup field to null, and does not run any Apex triggers, validation rules, workflow rules, or roll-up summary fields.
Tip
_img src="
https://help.salesforce.com/img/help/helpTips_icon.gif" /_You can use the Developer Console to debug workflow rules. The Developer Console lets you view debug log details and information about workflow rules and actions, such as the name of the user who triggered the workflow rule and the name and ID of the record being evaluated.