This activity allows to create a SharePoint task and returns task id.
Note: Using this activity you can create child tasks for new element. For example, a user creates a Summary Task 1 and then the workflow would create Task 2 as a child of Summary Task 1, etc.
Parameters
Input parameters
Parameter | Description | Example |
The following name | Title of task | |
Start date (optional) | Start date | |
Due date (optional) | Due date | |
Assigned to (optional) | SharePoint group id or name, user id or login name or email delimited by “,” or “;” who you want to assign the task to. | |
Parent task id (optional) | Integer id of parent task. The parent task string supports Parent Task ID or | 12, [%Variable:ParentID%] |
path to parent task. Otherwise a summary task would be created in root. | ||
The following bulk update (optional) | Bulk update string. Includes field name and field value lines.FieldName = FieldValue1 splitted by Enter key. | Description=Test Description Start Date=2010-12-10T12:30:00Published=1 Choice=My Choice #3 Lookup=12;# |
Current list | List id (guid) or name where you want to create new task. Default value is current workflow context list. | http://mysharepoint/Lists/Tasks |
Site URLs (optional) | The URLs of a SharePoint site where you want to create new task. If the value field is empty, current site will be used. | https://contoso/SiteUrl; https://contoso/Sites/SiteUrl;[%Workflow Context:Current Site URL%]subSite |
User name (optional) | User login name who you want the workflow must be run under | |
User password (optional) | User password who you want the workflow must be run under |
Example