Command option to find status within parent

Discussion created by Maria_Chebanova_9442 on Oct 27, 2017
Latest reply on Oct 27, 2017 by Maria_Chebanova_9442
Hi guys,

Is it possible to get status of a job within Parent through the Script without executing the the query against the database?
I can easily find the status of a job using script, but when it comes to find a status within parent...
I am still working on it, but may be someone has done it before and can share it?
For example, the actual status of the job within the workflow would be "Waiting for predecessor", but Status within Parent would be "HELD-Manual stop has been set". I would need to get that "HELD" status with the script.

Thank you,