Is there a way through TI code to disable/enable a chore??
Thanks
Automatic Chore Disabling
- Renaud MARTIAL
- Posts: 25
- Joined: Thu May 15, 2008 10:18 am
- Location: Paris, France
Re: Automatic Chore Disabling
Hello,
There's no TI instruction to enable or disable a Chore.
However, you can simulate this function by:
- adding a Numeric Attribute 'disabled' to the '}chores' dimension
- creating a process (with a parameter giving the chore name) that checks if the attribute 'disabled' is = 1 for this chore
If the answer is Yes, call the 'choreQuit()' instruction.
- Add this process as the first one to be executed by your chores.
You can then control the execution of chores by setting a value of 1 as 'disables' attribute.
Hope it helps,
Renaud.
There's no TI instruction to enable or disable a Chore.
However, you can simulate this function by:
- adding a Numeric Attribute 'disabled' to the '}chores' dimension
- creating a process (with a parameter giving the chore name) that checks if the attribute 'disabled' is = 1 for this chore
If the answer is Yes, call the 'choreQuit()' instruction.
- Add this process as the first one to be executed by your chores.
You can then control the execution of chores by setting a value of 1 as 'disables' attribute.
Hope it helps,
Renaud.
- 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: Automatic Chore Disabling
its already being talked about as an enhancement request in here
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