addDependsOnRelationship
Class: padv.Process
Namespace: padv
Create dependency between two tasks or subprocesses
Syntax
addDependsOnRelationship(process,Source=sourceTaskOrSubprocess,Dependency=predecessorTaskOrSubprocess)
addDependsOnRelationship(___,Name=Value)
Description
      addDependsOnRelationship(
      specifies that in the process,Source=sourceTaskOrSubprocess,Dependency=predecessorTaskOrSubprocess)process, the source depends on the dependency. The
      source task or subprocess does not run until after the predecessor task or subprocess runs
      completely and has a status.
addDependsOnRelationship(___,
      specifies additional characteristics of the relationship by using one or more
        Name=Value)Name=Value arguments. For example,
        addDependsOnRelationship(p1,Source=t2,Dependency=t1,WhenStatus=["Pass","Fail"])
      specifies that in process p1, task t2 depends on task
        t1 and that task t2 can only run after
        t1 runs completely and has a passing or failing task status. 



