Table of contents
API
TOC
Collapse the table of content
Expand the table of content

DependencyType enumeration

Nadin Merali|Last Updated: 5/6/2017

Specifies the type of dependency to establish between two tasks.

Syntax

CSOM

enum DependencyType 

JSOM

PS.DependencyType

REST Interface

DependencyType enumeration is not expliclity defined in REST. Use the values below to understand what can be returned and set.

Members

NameValueDescription
FinishFinish0Finish to finish (FF) task link type. The successor task B cannot finish until the predecessor task A finishes.
FinishStart1This is the default value. Finish to start (FS) task link type. The predecessor task A must finish before the successor task B can start.
StartFinish2Start to finish (SF) task link type. The predecessor task A must start before the successor task B finishes. This is the least common of the four dependency types.
StartStart3Start to start (SS) task link type. The successor task B cannot start until the predecessor task A starts.

Remarks

For an example of the SF task dependency type, in a scenario where you are setting a fence post, the successor task B is Pour Cement and the predecessor task A is Set Post.
The successor (Pour Cement) must start first; however, the predecessor (Set Post) must finish before the successor (Pour Cement) finishes.
The DependencyType enumeration in the CSOM is equivalent to the LINK_TYPE property in the Project service.

See Also

DraftTaskLink
PublishedTaskLink
TaskLinkCreationInformation

© 2018 Microsoft