I want to achieve this simple functionality using OOB Approval - SharePoint 2010 and Publishing workflows but it is not working.
I have two users user1 and user2
I want user1 to create and edit pages and user2 to approve those pages to publish
I am using Approval - SharePoint 2010 workflow with option selected Start this workflow to approve publishing a major version of an item.
I gave Contribute permissions to user1
I gave Approve permissions to user2
When user1 edits a page and checks it back in then nothing happens.
When user2 logs in and goes to that page then it shows in yellow bar on top that this page needs to be published. Now here's the problem. Why would user2 publish it which will then start the workflow and then he will approve it?
I mean as soon as user1 saved and checked in the page, it should have started workflow and then user2 will be able to approve it and page should be published.
How to achieve this functionality?
Just to reiterate here is what I want.
When user1 edits a page and checks in then workflow should automatically start (which will send email alert to user2 and also add it in his Tasks list as defined in workflow) without him doing anything. If that's not possible then user1 should be able to do it with a single click for e.g. like clicking a button Submit which will then start the workflow.
user2 then should be able to approve/reject workflow.