In the below code I would like to add a sub job in the scheduler base on the value return from the signal generated. I tried global variable but seems not working.
For ex