Dears,
i'm very new to CRM with 8 Years of experience in asp.net Development, i've the below scenario, in the CRM 2011 there is an entity Called new_Holiday with the below fields,
1- Holiday Name
2- Holiday Start Date
3- Holiday End Date
when a case is created i need to fire a custom work flow which should return the wait time of the case before it's escalated
if the Case is Created on Friday 3:30 pm and our default period to solve the case is 24 hours so it should return 72 hours to the CRM as a wait time before the case is Escalated (given that Saturday and Sunday are weekends) also i'll be checking in the code that while checking the time if there is a holiday i'll add it to the wait time ... taking the above example if i found monday in the holiday entity i'll add another 24 hours to the 72 hours to be 96 hours wait time.
any help will be much appreciated.
N.B: i've created the the activity project (C#) and added the CRM dlls to the project and i was able to register the dll in CRM but i'm not sure how to return the counted hours in the waitime of the Case.
any help will be much appreciated.