Techno Freak Search

Search Results

Friday, July 31, 2009

Create a custom Approval workflow using SharePoint Designer

Create a custom Approval workflow using SharePoint Designer

!!! Happy Friendship Day !!!!

This workflow is useful for 3 levels of approval required to filing form. Only form is visible when 3 levels approval completed.If any one Reject the form then Mail Sent to Created by user that your list entry is rejected for some reason.

Below some basic steps to creating approval workflow.

Step 1: It starts when a new item is created, modified or user can start workflow manually also.



Step 2: Created Workflow variable. Below Workflow variable description.

• TQM 25 Approval ID: This variable holds the ID of the task used to collect data from the approver.
• Approval: This variable holds the value of the “Approval” field in the task used to approve or reject the request.
• Comments: This variable holds the value of the “Comments” field in the task used to approve or reject the request.
• Collect: Task List Item ID Created for Task List.




Step 3: For First level Approval Task user is fill form on submission mail will go to person mentioned in field “Your Excellence Enabler”. Task is assigned to person whose name is mentioned in Your Excellence Enabler field. No condition is checked for Assigning task.

Actions Steps:

• Create a new approval task to be completed by the approver. This is implemented as “Collect Data from a User”. Task Id store in local workflow variable.

• Set workflow variable value whether user approved or Reject item. [ Refer Step 4 ]

• Same way store user comments on local workflow variable. [ Refer Step 5 ]



Step 4: Set Workflow Variable value as Approved or Reject.




Step 5: Set workflow variable comments value.





Step 6: So the action that we are going to use is the 'Collect Data From User' action.
1. The data that needs to be collected
2. The user that needs to provide the data, the human resource manager
3. A variable to collect, task ID.
Step 6.1 Click on Collect data new wizard will open




Step 6.2: we need to collect data from user so here we can add Approve / Reject Checkbox and comments multiline textbox.











Step 6.3 Final output of collect data.



Step 7: Once first level task is assigned to “your Excellence Enabler”. Mail Sent to Excellence Enabler to approve and Reject task.




Step 8: if Excellence Enabler Approve Task then Approval Mail sent to Created By and if Reject task then Rejection Mail Sent to Created By.
o On Approved of Excellence Enabler next task is assigned to Champion Approval.

o On Reject workflow is stopped.



Step 9: Same as Step 7



Step 10: Once All Approval completed Entry is display on list.




Once Again Happy Friendship Day Week Month Year Life time

Pritesh Gandhi




# I like walking in the rain , becoz nobody can see my tears.
# The Most Wasted day in life ,is the day ,in which we have not laughed.
#
Nothing is permenent in this world, not even your troubles... !
-- Charlie Chaplin

From Pritesh Public Profile



Reference URL :

http://www.u2u.info/Blogs/Kevin/Lists/Posts/Post.aspx?ID=39

http://cycogeek.fiesta25.com/blogs/cycogeek/page/Create-Custom-Approval-Workflow-with-SharePoint-Designer.aspx





Bookmark and Share

23 comments:

  1. Hi Pritesh,

    I am new in sharepoint technology.
    You have given demo for three level approval work flow. I want to create new workflow with n number of approval.

    I have created user list where user's are listed in that list with them level.

    I want to fetch the users from this list according to them level and want to fire approval in that sequence.

    Kindly advice.

    ReplyDelete
  2. you need to create custom workflow in Visual Studio.

    I don't think sharepoint designer will give you N Number of workflow functionality ..

    ReplyDelete
  3. Thanks a lot Pritesh
    Can you advice how to create same in VS with example?

    ReplyDelete
  4. I tries one time but My project was cancelled ...
    Sorry ....

    ReplyDelete
  5. Can you guide some reference notes from where i can get some help?

    ReplyDelete
  6. Hi Pritesh,
    Nice article. I'm a little bit confuse about the Tasks list. it's a custom Tasks list with 2 new fields? Can you post an image of Tasks list?
    Thanks

    ReplyDelete
  7. Hi Pritesh,

    I built the workflow and it seems to work fine, but when the last approver gets tasked, the task page has a lot more information that the first two approvers. Also the last approver's task button just say's "OK" not "Complete task." To top all of that off, the Status of the task ends as complete, but the Outcome is blank. The workflow is holding at this point. How can I force it to progress?

    ReplyDelete
  8. What type of help you needed from my side?

    ReplyDelete
  9. Hi Pritesh,
    I am building a site using SP2007, I need to add a workflow that contributor requests approval from content owner (Section Head) and then once approved email sent to IT to publish, basically each subsite content contributor will add/modify/dlete content, can you help me with the steps with this.

    thanks
    RJ

    ReplyDelete
  10. Great instructions - you saved me a lot of time - thanks!

    ReplyDelete
  11. Can you rewrite this? The concept is very good but hard to understand your explanation.

    ReplyDelete
  12. Thanks. This is a very concise article for a topic that's suprisingly not well documented elsewhere on the web.

    ReplyDelete
  13. Thanks, its a great article for the topic!

    ReplyDelete
  14. HI
    This is pratrap......will u please help me "INFOPATHS"

    ReplyDelete
    Replies
    1. I have never worked on Inforpath. :(

      Delete
  15. Hi Pritesh,

    This is the second time your website has helped me. You did a great job solving a common problem. I was so glad that I found your link for the second application. Your instructions are so easy to follow. Thank you so much for making this available to all!

    ReplyDelete
  16. Having some issues and I think they are related to the workflow variables not being stored. Is there a way to view the values of the variables while the workflow is in process?

    ReplyDelete
  17. I have a new issue. When opening the task for the collect data from user I get the full form with all of the task fields and do not get the traditional complete task at the bottom. It was working fine but something I have done along the way has messed things up. Anyone know?


    Screenshot: http://www.e2matt.ca:5000/fbsharing/6pQODnPS

    ReplyDelete
  18. Hi e2matt,

    Give me some time . Currently I am busy with my own work.

    ReplyDelete
  19. Hi Pritesh,

    Just an observation...I've created an Approval workflow which creates a task through collect data from a user, but I've noticed that the task that the workflow creates can be edited after the workflow has completed??!! So i can originally "approve" a document but then I can change the task to rejected so that task then shows as user response rejected.

    Is this normal?

    ReplyDelete
    Replies
    1. Yes It's normal Because Use has permission to Edit the Same Row.

      Delete

Ratings & Review

Followers