I want to add a three-state-workflow to a list. I know how to add this via Designer but - to keep manual works low - I want to achieve the same goal by Code.
This is what I need:
- Add a three-state-workflow to List xyz
- Assign a SharePoint-Group to the middle state (review)
- Assign a SharePoint-Group to the final state (approve)
I googled my ass off, but did not find a source which explains how to do this. All I found where information how to completely write my own workflow which I do not want.
Any hints/tipps/urls?