Creating a task from the workflow
So far we created workflows that run automatically without stopping for user input in the middle of the process. Initiation or association data come before the workflow is started. There are many situations where in the middle of the workflow process you may want input from a user to proceed further. To do this, we will create tasks in SharePoint.
In this recipe, we will create an Employee Suggestion Program (ESP) workflow, where employees of a company can provide suggestions on the betterment of the business processes that are in place in the company. For this, when an employee suggests a process improvement, a task is assigned to the department director to take a look at and decide on the value of the suggestion.
Getting ready
Create a custom list from the SharePoint UI called ESP. The following table lists all the attributes of the fields in the list:
Field Name |
Data Type |
Required |
---|---|---|
Title |
Single line of text |
Yes |
... |