Have you considered the use of events at the packet level and filtering only for fire, when necessary for your specific condition?
For instance. you can use the OnPostExecute event by simply placing a dummy task with a name that starts on a specific line, such as "RunMyTasks", and then check System :: SourceName to see if it starts with "RunMyTasks". If so, then a branch to complete your tasks (and otherwise a branch to handle the event, as usual).
, OnVariableValueChanged - ( ). RaiseChangedEvent = TRUE. / script, ; , .
post .