简体   繁体   中英

How to: sharepoint workflow with custom list

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 make 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:

  1. Run Workflow automatically when item changed
  2. Check field "State"
  3. Switch field state, if state = "teststate" do this, else do that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM