I'm sure there is an easy explanation but:
I have a task called AB. Task AB calls task A and task B. How can I tell if task A or task B was started by itself or started from task AB?
Bob Gregory
How to tell if task was started from another task
Re: How to tell if task was started from another task
Pass some parameter from "AB" task to task A and Task B. For example Caller=AB
If you run the task manually, this parameter will not be present.
If you run the task manually, this parameter will not be present.
Oleg Yershov
Re: How to tell if task was started from another task
Thank you Oleg... simple.
Re: How to tell if task was started from another task
Also you can declare variable Caller on Variable tab of task editor
If parent task passes a parameter with the same name, it overrides the corresponding declared task local variable.
If parent task passes a parameter with the same name, it overrides the corresponding declared task local variable.
Oleg Yershov