You are designing a custom workflow for the Human Resources department. The workflow will add the business
logic for hiring approval to a SharePoint 2010 Web application. The requirements specify that the workflow must:
Be used to manage the hiring approvals for the employee new-hire lists on all department sites.
.Encapsulate all of the required business logic for the approval process.
.Make changes to list data that requires higher privileges than the user initiating the workflow might possess.
You need to design the workflow to meet all these requirements.
Which approach should you recommend?
A.
Add the business logic to an assembly and deploy it to the global assembly cache.
B.
Add the business logic to an assembly and place it in the _app_bin directory of the Web application.
C.
Add the business logic as a declarative workflow and run it using the SharePoint system account.
D.
Create custom actions that specify the business logic and then add the actions to the Web application.
http://parassanghani.blogspot.in/2012/09/sharepointcustomworkflowactivity.html
http://ankurmadaan.blogspot.com/2012/03/creating-custom-workflow-activity-using.html
Deployment Process:
1. Sign The Assembly and Get The Public Token and place it in the ACTIONS file
2. Place the ACTIONS file to the Worklfow Mapped Folder of SharePoint 14 Hive
3. Deploying CreateSiteActivity DLL to GAC and Create Safe Control in Web Config of the Web Application.
4. Add Authorize Type in web config