Get Chore Name that Process is Executing In?
-
- Community Contributor
- Posts: 349
- Joined: Tue Aug 17, 2010 6:31 am
- OLAP Product: Planning Analytics
- Version: 2.0.5
- Excel Version: 2016
Get Chore Name that Process is Executing In?
Is there a way to pick up the name of the chore a process is executing in? I was hoping to provide the name of the chore when outputting to e mail the error code if any of the processes fail
-
- Site Admin
- Posts: 6667
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: Get Chore Name that Process is Executing In?
Not directly.PlanningDev wrote:Is there a way to pick up the name of the chore a process is executing in? I was hoping to provide the name of the chore when outputting to e mail the error code if any of the processes fail
If a process is shared between chores, we typically call them from a single parent process via ExecuteProcess. The Chore name is defined as a constant in the parent process, and a parameter in the child processes. The parent process then passes the constant via the parameter, so that whenever the child process needs to output something it has the chore name available.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-
- Community Contributor
- Posts: 349
- Joined: Tue Aug 17, 2010 6:31 am
- OLAP Product: Planning Analytics
- Version: 2.0.5
- Excel Version: 2016
Re: Get Chore Name that Process is Executing In?
Thanks for the reply!
I also found out that the TM1User() function will output the chore name when run in a scheduled chore. Unfortunately we have to trigger the chores due to an unknown data warehouse update time.
Thanks
I also found out that the TM1User() function will output the chore name when run in a scheduled chore. Unfortunately we have to trigger the chores due to an unknown data warehouse update time.
Thanks
-
- Site Admin
- Posts: 6667
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: Get Chore Name that Process is Executing In?
Good point; I should have mentioned that.PlanningDev wrote: I also found out that the TM1User() function will output the chore name when run in a scheduled chore.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.