add task in subfolder

Topics: Errors, Examples
Dec 6, 2016 at 3:54 PM
No exists method for add task in subfolder.

Or why add task in subfolder.
Coordinator
Dec 6, 2016 at 8:23 PM
The TaskFolder class represents a folder regardless of its level and tasks are added to a folder using the RegisterTaskDefinition method.
TaskService.Instance.RootFolder.Subfolders["SubFldName"].RegisterTaskDefinition(....).
Marked as answer by dahall on 12/6/2016 at 1:23 PM