Magidoc

insertActionLink
Mutation

Creates a dependency between two existing actions. Create the actions first, then pass the predecessor action (the one that blocks) as source and the dependent/successor action that waits on it as target. Supports FS (finish-to-start), SS (start-to-start), FF (finish-to-finish), and SF (start-to-finish). An existing source/target link is returned unchanged.

Arguments

#

source

ID !
Non-null

Predecessor action ID (the action that blocks target).

target

ID !
Non-null

Dependent/successor action ID that waits on source.

lag

Scheduling offset for the dependency. Defaults to 0 when omitted.

type

Dependency kind: FS, SS, FF, or SF. Defaults to FS when omitted.

preventCircularDependencies

Reject circular action dependencies. Defaults to true when omitted.

rejectExisting

Reject an existing source/target pair instead of returning it unchanged. Defaults to false.

Response

#

Returns ActionLink !.

Example

#