This project is read-only.

In this beta release, we use the custom list for holiday list. Which refers to the column HolidayDate type of DateTime.

Holiday List

(Actual Calendar will be used in final release)

Upload the wsp to solution gallery or use stsadm to deploy the solution package.

Edit web.config on respective web application, add authorized type for the assembly.
<authorizedType Assembly="CrescoSys.SPDActions.CalculateDue, Version=, Culture=neutral, PublicKeyToken=fc308ef00d9bbc2d" Namespace="CrescoSys.SPDActions" TypeName="*" Authorized="True" />

AuthorizedType entry in web.config

After the update, Reset the IIS.

Now Open the SharePoint Designer 2010, you will see new Custom Action added to the list “CrescoSys DueDate Calculation”

SharePoint Designer Actions List

Click on “CrescoSys DueDate Calculation”, this will add the action to the step.

Add Custom Action

Configure the values for fields and parameters in action.


Name of the Holiday List in Site.

Site URL

Site URL for Holiday List (It’s given as configurable, because the holiday list may be residing inside the HR Portal)

Due Days

No of days to calculate due date.

Due Date

This is the parameter, which is returned from the code activity with calculated due date.



In the below screenshot the HolidayList is configured to read from by with 5 days as due days and stores the return value into the variable “InitialDueDate”.

Next action on the step 1 is approval process, which would use the “InitialDueDate” variable as a due date for the approval process.

Here is the sample workflow task created for approval by considering the 5 days due and holiday list.

Last edited Aug 8, 2011 at 9:21 PM by Uday, version 3


ramon84 Nov 12, 2012 at 2:59 AM 

Thanks for the hard work. I’ve been looking for something like this for years.

I have 2 questions:

Can I change the name of the columns in the custom holiday list?

Can I install this custom action in SP2010 in Spanish? If so, how?

Thanks again.