Disable resetting of }tp processes (Contributor)

Post Reply
bunchukokoy
Regular Participant
Posts: 197
Joined: Thu Dec 03, 2009 8:47 am
OLAP Product: IBM Cognos TM1
Version: 10.2.2.x
Excel Version: 2010
Location: Singapore

Disable resetting of }tp processes (Contributor)

Post by bunchukokoy »

Hi Experts, :)

In relation to this post. http://www.tm1forum.com/viewtopic.php?f=3&t=7975,

I just discovered that all scripts I inserted to some }tp processes are being overwritten with the TM1's original scripts after I ...

1. Restart the TM1 Application Server
2. Go to the TM1 Applications portal (http://<host>:9510/pmpsvc/applications.jsp) as user with TM1 Admin rights.

I thought it was }tp_set_system_config that does it, but even the codes and comments I inserted in it are gone after I do those actions.

Does anyone have an idea how to disable it?

If there's none, I think it's useless in my case to do it since restarting the Application server is inevitable and the amount of processes I execute inside this }tp processes is huge. And therefore it isn't advisable at all to insert codes inside these }tp processes.

Am I missing something guys? BTW, I'm using version 10.1.1

Thanks in advance.
Wim Gielis
MVP
Posts: 3241
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Disable resetting of }tp processes (Contributor)

Post by Wim Gielis »

Hello,

Just an idea. Would it be possible to add a websheet to the Application,
and that websheet contains Action buttons that execute 1 or more of your custom TI processes.
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
bunchukokoy
Regular Participant
Posts: 197
Joined: Thu Dec 03, 2009 8:47 am
OLAP Product: IBM Cognos TM1
Version: 10.2.2.x
Excel Version: 2010
Location: Singapore

Re: Disable resetting of }tp processes (Contributor)

Post by bunchukokoy »

Hi Wim. Thanks.

That's considerable. The thing is, that will be additional task for users.

If this keeps on resetting, I assume no }tp process can be inserted with new script, at all.

There's a log though to look what }tp process did just finish. But I don't think there's a log for the ReturnedValue of that process. And if there really is, I am gonna make additional process to check that log periodically (per minute or per 30 sec, or what.). I am not sure about that work-around if that's possible.

And actually, I commented parts of TM1's default scripts as per requirement purposes.

:(
declanr
MVP
Posts: 1831
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: Disable resetting of }tp processes (Contributor)

Post by declanr »

bunchukokoy wrote:The thing is, that will be additional task for users.
I will probably sound like a broken record on this one but for what it's worth I would say that "Contributor/TM1 Applications" are designed to suit some quite specific purposes and in some situations they are suitable however when you start getting into a position where you need to change the built in processes and essentially move "outside" the borders of the tool... it is perhaps worth considering just creating your own "workflow" style application using TM1 Web and some custom built TI Processes and "security cubes". It may feel like more work to start with but if you design it well then you can pretty much guarantee it will save you work in the long run and you can design it to keep the effort required by your end users to a minimum.
Declan Rodger
Post Reply