Please how can I ensure that for both opportunities with historic and future dates once the stage changes to closed won, the system updates the close date to today's date. We also want users to be able to go in an edit the date (in exceptional cases where the date may need to be changed) - we are having loads of issues where opportunities are closed with historic dates
Thanks for your help
2 件の回答
You can create a Workflow Rule + Field Update like this =
- Setup | Create | Workflows & Approvals | Workflow Rules
- New Rule
- Select the Object: Opportunity
- Evaluation Criteria: created and every time it's edited [2ND OPTION]
- Rule Criteria: formula evaluates to true
- Formula:
AND( OR( ISNEW(), ISCHANGED(StageName) ), CASE( StageName, "Closed Won", 1, "Closed Lost", 1, 0 ) == 1)
- Click Save & Next
- From under Immediate Workflow Actions, click Add Workflow Action to select Field Update
- Select the Field to Update: CloseDate
- Select Use a Formula to Set the New Value
- Formula:
TODAY()
- Click Save
- Hit Done
- Activate!