[10.2] How to have the error message more detailed ?

Post Reply
hittony
Posts: 71
Joined: Mon Apr 27, 2015 8:54 am
OLAP Product: TM1
Version: 10.2.2 FP6
Excel Version: 2010

[10.2] How to have the error message more detailed ?

Post by hittony »

Hello,

Users can run a process via an Action Button defined with Perspectives, but how to have error messages more detailed ? Other than Success and Failure message ?
If I put the question in another way, how to distinguish a minor process error from a real process error in Perspectives ?

Thank you
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: [10.2] How to have the error message more detailed ?

Post by declanr »

First of all you return custom messages by going in to the action button options and pointing the completion messages to a cell reference (e.g =A1)

Make that cell reference/s be a DBR; I tend to add a return message attribute to the clients dimension and look at that.

Update your cell as part of the process that is ran and that is the message that will be returned; to tell the difference between minor errors etc you can check the process return code.
Declan Rodger
Wim Gielis
MVP
Posts: 3240
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: [10.2] How to have the error message more detailed ?

Post by Wim Gielis »

Hello there,

For example, see attachment.
The cell you are referring to can contain a DBR formula for example.
Attachments
01.PNG
01.PNG (79.43 KiB) Viewed 2153 times
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
Post Reply