Set/Show Task Once Dependent Task are Complete

Set/Show Task Once Dependent Task are Complete

Hello! 

I am attempting to create a Field and Form rule using the Execute Script option. 
The rule will need to Show/Set a task only once the dependent task have been completed. 

Scenario: 
Update to production service is required. 
Before implementing this update in the production environment, it must first be applied to the test environment first. 

: 11.1 Build 11106
11.1 Build 11112
: Registered Version

: Standard


Task Dependency 
Parent Task                         Child Task
Testing Update task > Production Update Task

Pseudo Script:

if (TestTaskID status == closed\resolved)
      Show/set [(ProductionTaskID)]
else hide/unset ([ProductionTaskID)]

If there is a better or more officiant way of performing this, please let me know. 

Thank you for any guidance. 

                  New to ADSelfService Plus?