Click here to Skip to main content
15,889,034 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear all,
I am new to share point 2010. I want to build a simple work flow. I have requirement that I have two lists in share point site. One is for employee registration another one is for car registration. Any employee can register the car in car registration list with field like car id, owner of the car, seating capacity, availability of seat etc. So there will be many car with different owner and car id in the list. And employee registration will be there in employee registration list.
Scenario: Any employee belong to the route of particular car can apply for car pool facility, when employee apply for car pool facility the request should go to particular owner of the car as an email, there owner of the car may approve or reject the request. Either the way notification should go to sender.
Condition: if owner the car approves the request, instantly availability of seat (from car registration list) should be decreased. If he rejects availability of seat would be remain same.
How can I achieve this functionality, I know I have to do some custom workflow around this, but not getting idea where to start. Please help with steps.

Your help is always heartily appreciated.
Posted

Hi,

Have a look at my article for creating Custom State Machine Workflow.

SharePoint 2010 State Machine Workflows with Custom Task Forms (InfoPath) using VS 2010 - Part 1
 
Share this answer
 
create a custom workflow on Car Registration List on adding new Item this workflow will send mail to the car owner and put a task for the owner this task will be custom task.

the workflow will be like this--

initiation

send email

on task creation

on task change

check approved or reject

send mail

update workflow item accordingly

------------------------------------------------------
--Pankaj
 
Share this answer
 
The recommend process is to create the workflow in SharePoint Designer as reusable workflow. The available workflow actions will be able to support your needs. After development and testing export the workflow to a Visual Studio project and deploy to your production environment as a feature.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900