Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- General Development
- :
- Re: Control the Status field of Entitlement
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Control the Status field of Entitlemen t
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-15-2013 11:47 AM
Hi Guys,
I need to control the status field of the Entitlement. As a standard functionality, if the system date (Today's date) is between start and end dates, the status is active and if it is greater than end date, status automatically changes to expired. But I need to customize this logic. Based on some criterias, I should prevent the status being changed from active to expired even after the end date. But I don't know the best approach to customize this. I can write a trigger but I just want to know is there a standard way or any declarative way to control the status value?
Thanks in advance,
Sorna
Re: Control the Status field of Entitlemen t
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-15-2013 12:11 PM
The best way is to stop capturing the actual entitlement start date and end date in the standard date fields and capture them in the custom fields.
And use workflows to set the End date based on your conditions.
Thanks,
Rakesh B

