I want to develop a workflow for sharepoint linked to a custom list. The work flow will be based on a field of the list that represents the state. I have looked for good tutorials on the Internet, but I can't find out one that is ok for me. My scenario is as follows:
- As a new item of the list is created, the workflow should start.
- In the next steps the user will be asked to fill in a form, submitting the form will make the workflow go on.
How can I ma开发者_如何学JAVAke a form "communicate" with the workflow?
Should this be achieved using a Modification form?Thank you.
I'm not sure you even need C# or Visual Studio.
Check out the introduction to SharePoint Designer and Workflows.
Your workflow can run on any list - custom or not, doesn't matter. The Workflow can actually run whenever the item it is running on has changed, which is exactly what you want: Whenever someone changes the "state" field, the workflow runs and does whatever it needs to do.
A good example of exactly this is the built in "Three State Workflow" - you only have to activate the feature.
Read up a bit on Workflows to propose a more detailed question. There simply is no answer to your second question whether you should use state machine or sequence workflow - it depends on your use case.
Basically you want this:
- Run Workflow automatically when item changed
- Check field "State"
- Switch field state, if state = "teststate" do this, else do that.
精彩评论