Search Community
- Force.com Discussion Boards
- :
- Salesforce User Discussions
- :
- Best Practices Discussion
- :
- Re: Excluding weekends on the age of Support Cases
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Excluding weekends on the age of Support Cases
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-11-2008 02:13 PM
Re: Excluding weekends on the age of Support Cases
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-22-2008 09:15 PM
Very complex business rules, had to let it go. Perhaps post/search the idea exchange, or log a case with customer support.
Good luck!
Salesforce.com Consultant
The Results Group
cell (647) 883-5741
joey.davis@trgsalesconsulting.com
Re: Excluding weekends on the age of Support Cases
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-23-2008 08:55 AM
Support was able to point me in the direction of 2 formulas that can be used to create an Age in weekdays custom field, the only problem is that the first one doesn’t take into consideration the case being closed, and the other takes the closure into consideration, but also counts any activity at all on the case after it’s closed. I tried to modify both of them with no success, but then, I am just a beginning user and definitely not a developer. Someone else may have better luck.
IF(AND(MOD(TODAY()-DATE(1900,1,7),7)< (NOW() - {!CreatedDate}), ((NOW() - {!CreatedDate})<7)),((NOW() - {!CreatedDate})-2), ((NOW() - {!CreatedDate})-(2 * ((NOW() - {!CreatedDate})/7))))
IF(AND(MOD(TODAY()-DATE(1900,1,7),7)< (IF( IsClosed , LastModifiedDate, NOW()) - CreatedDate), ((IF( IsClosed , LastModifiedDate, NOW()) - CreatedDate)<7)),((IF( IsClosed , LastModifiedDate, NOW()) - CreatedDate)-2) , ((IF( IsClosed , LastModifiedDate, NOW()) - CreatedDate)-(2 * ((IF( IsClosed , LastModifiedDate, NOW()) - CreatedDate)/7))))
Thanks,
Alannah Sinclaire
Attenex Corporation | www.attenex.com
925 Fourth Avenue, Suite 1700 Seattle, WA 98104

