Name of Processes in Turbo
Name of Processes in Turbo
HI,
can i now name of Processes that run in Turbo?
which function i must use?
Thanks
Boris
can i now name of Processes that run in Turbo?
which function i must use?
Thanks
Boris
-
- Site Admin
- Posts: 6647
- 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: Name of Processes in Turbo
There are no native functions which will allow you to change the names of TI processes. You name them when you save them using the GUI in Server Explorer. You can also Save As a different name. Aside from that the only way of doing it without resorting to third party tools is to use code written using the TM1 API, which I wouldn't recommend.borisslu wrote: can i now name of Processes that run in Turbo?
which function i must use?
"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.
- Michel Zijlema
- Site Admin
- Posts: 712
- Joined: Wed May 14, 2008 5:22 am
- OLAP Product: TM1, PALO
- Version: both 2.5 and higher
- Excel Version: 2003-2007-2010
- Location: Netherlands
- Contact:
Re: Name of Processes in Turbo
There is a Turbo Integrator function that returns the name of the running process, if that's what you're after:
GetProcessName
This is a TM1 TurboIntegrator function, valid only in TurboIntegrator processes.
This function returns as a string the name of the current process.
Syntax
GetProcessName()
Arguments
None.
Example
Name = GetProcessName();
-
- Site Admin
- Posts: 6647
- 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: Name of Processes in Turbo
Ooooh, he meant how can I know the name of the process... that does put it in a somewhat different context.Michel Zijlema wrote:There is a Turbo Integrator function that returns the name of the running process, if that's what you're after:
"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.
- Michel Zijlema
- Site Admin
- Posts: 712
- Joined: Wed May 14, 2008 5:22 am
- OLAP Product: TM1, PALO
- Version: both 2.5 and higher
- Excel Version: 2003-2007-2010
- Location: Netherlands
- Contact:
Re: Name of Processes in Turbo
Hi Boris,borisslu wrote:Hi Michel,
i have a mistake that variable GetProcessName is undefined
that i must write?
Thanks
Boris
Did you use the syntax as described in the example:
Name = GetProcessName();
i.e. did you assign the result of the function to a variable and did you add the parenthesis at the end of the function?
What TM1 version are you using?
Michel
Re: Name of Processes in Turbo
hi, Michel
i did this
but maybe this because version 9.1?
i undestand that this function exist onli in version 9.5?
thanks
Boris
i did this
but maybe this because version 9.1?
i undestand that this function exist onli in version 9.5?
thanks
Boris
-
- Site Admin
- Posts: 6647
- 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: Name of Processes in Turbo
It appears so. There doesn't seem to be any reference to it in the release notes (what a surpriseborisslu wrote: i undestand that this function exist onli in version 9.5?

You could always assign the process name to a variable manually as a workaround.
"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.
-
- MVP
- Posts: 3702
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Name of Processes in Turbo
Erm, cough, splutter, yes ...Alan Kirk wrote:It appears so. There doesn't seem to be any reference to it in the release notes (what a surpriseborisslu wrote: i undestand that this function exist onli in version 9.5?), but doing a search through my document library shows it only in the 9.5 Reference .pdfs, not in those of any earlier version.
You could always assign the process name to a variable manually as a workaround.
Must say I was a bit surprised when I saw Michel's response. After I finished wiping coffee spray from the screen I did the same thing. That function would have saved me a lot of bother with hardcoding of process names over the years!
I must say about bloody time. Now if only IBM would pull their finger out and come up with a TI function for "TM1ServerVersion" so that it is possible to handle possible errors and branch code for use on different server versions. This would have been quite handy over the years for this case in point and also for the introduction of ViewExists, SubsetExists, etc. I'll just get my coat shall I ?...
- Michel Zijlema
- Site Admin
- Posts: 712
- Joined: Wed May 14, 2008 5:22 am
- OLAP Product: TM1, PALO
- Version: both 2.5 and higher
- Excel Version: 2003-2007-2010
- Location: Netherlands
- Contact:
Re: Name of Processes in Turbo
When I asked what version you're using? I thought Boris maybe is on some old (v8) version - I wasn't aware that this function was added this recently though...
I just tested: this function is also available in TM1 9.4.1FP3, but indeed not in 9.1.4 en before.
Michel
I just tested: this function is also available in TM1 9.4.1FP3, but indeed not in 9.1.4 en before.
Michel
-
- Site Admin
- Posts: 6647
- 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: Name of Processes in Turbo
Definitely wasn't documented in 9.4 though (unless it was in a later update to the docs which I don't have, though it's also not in the 9.4 MR1 Information Centre); the list of reserved words in the 9.4 TI manual, for example, include only two starting with Get:Michel Zijlema wrote:When I asked what version you're using? I thought Boris maybe is on some old (v8) version - I wasn't aware that this function was added this recently though...
I just tested: this function is also available in TM1 9.4.1FP3, but indeed not in 9.1.4 en before.
GetProcessErrorFileDirectory, and
GetProcessErrorFilename.
Oh wait, I see why... I just re-checked my job description.
Guess I'm gonna get marked down on that one in this year's appraisal.My job description wrote:Required to demonstrate abnormally high paranormal extra sensory perception abilities to detect when undocumented changes have been made to TM1 functionality.
"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.
-
- Posts: 22
- Joined: Tue Jul 01, 2008 2:12 pm
- OLAP Product: TM1 SSAS
- Version: 9.5,10.2
- Excel Version: 2010 2013 2016
- Location: UK
Re: Name of Processes in Turbo
Suppose that also applies to a function TIUserName - doesn't exist yet...
-
- Site Admin
- Posts: 6647
- 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: Name of Processes in Turbo
If you're referring to the TI function, the function name is actually TM1User, not TM1UserName. As per the release notes it was available by at least 9.1 SP3.IanB wrote:Suppose that also applies to a function TIUserName - doesn't exist yet...
"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.
- Steve Vincent
- Site Admin
- Posts: 1054
- Joined: Mon May 12, 2008 8:33 am
- OLAP Product: TM1
- Version: 10.2.2 FP1
- Excel Version: 2010
- Location: UK
Re: Name of Processes in Turbo
...and having just checked 9.0, 9.1 seems to be the 1st time it appeared too.
If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
- paulsimon
- MVP
- Posts: 808
- Joined: Sat Sep 03, 2011 11:10 pm
- OLAP Product: TM1
- Version: PA 2.0.5
- Excel Version: 2016
- Contact:
Re: Name of Processes in Turbo
Hi
I've adopted the habit of creating a
vThisPro = '<process name>' ;
in the Prolog
as it then makes it easier when you want to save the process as a different name, or when I want to take the process name and paste it in to another process or a cube.
So, I think that there is still a reason for having a variable with the process name in a process.
Regards
Paul Simon
I've adopted the habit of creating a
vThisPro = '<process name>' ;
in the Prolog
as it then makes it easier when you want to save the process as a different name, or when I want to take the process name and paste it in to another process or a cube.
So, I think that there is still a reason for having a variable with the process name in a process.
Regards
Paul Simon