Hi guys,
I tried testing the cool new feature of TM1 10.2 contributor where we could trigger a TI process just before & after a certain action is done on the Contributor Application e.g. submit/reject etc.
Here's what I've done:
1. Created a contributor application.
2. Enabled the Pre & post TI processes upon node rejection. Deployed application successfully.
3. When I try to reject the node, I get an error that "An unexpected error occured in a TI process".
I got curious, as the TI processes work fine when ran separately (the user rejecting node is same).
So I checked the pmpsvc log file. & find following error:
2014-04-08 10:17:59,975 [http-19300-49] ERROR (rejectNode) com.ibm.cognos.pmpsvc.PMPService - com.ibm.cognos.pmpsvc.handler.PMPTM1Exception: TI_INTERNAL[NA | Sense App State Before | Process Sense App State Before has 0 arguments, but called with 4 ]
I do not know where I can specify how many arguments will the process be called with. My process doesn't use any parameters & I do not understand why it is called with 4 arguments.
Has anyone else faced this problem?
TM1 10.2 Triggering TI process before & after submit/reject
-
- Posts: 14
- Joined: Tue Apr 09, 2013 6:35 am
- OLAP Product: TM1
- Version: 10.1
- Excel Version: 2007
Re: TM1 10.2 Triggering TI process before & after submit/rej
Hi, just an update, came across a comment on TM1tutorials.com that says:
the TI needs to be modified to include these parameters:
pExecutionid, pAppid, pNodeid and pWorkflowAction
Looks like the solution. Investigating the same. Will keep everyone posted.
Thanks.
the TI needs to be modified to include these parameters:
pExecutionid, pAppid, pNodeid and pWorkflowAction
Looks like the solution. Investigating the same. Will keep everyone posted.
Thanks.
-
- Posts: 14
- Joined: Tue Apr 09, 2013 6:35 am
- OLAP Product: TM1
- Version: 10.1
- Excel Version: 2007
Re: TM1 10.2 Triggering TI process before & after submit/rej
Hi Everyone,
The issue has been solved. All I had to do was add these 4 parameters to both Pre & Post TI processes, in the same order:
pExecutionid
pAppid
pNodeid
pWorkflowAction
Thanks.
The issue has been solved. All I had to do was add these 4 parameters to both Pre & Post TI processes, in the same order:
pExecutionid
pAppid
pNodeid
pWorkflowAction
Thanks.
-
- Posts: 55
- Joined: Wed Jun 27, 2012 3:22 am
- OLAP Product: TM1
- Version: 10.2
- Excel Version: 2010
- Contact:
Re: TM1 10.2 Triggering TI process before & after submit/rej
Hi
I also see the case as you. Process work fine when ran separately. I still do not understand why more and more 4 parameters like. Can you give me sample not.
Examle: I have process and code TI the same picture under
Thank you so much
Hi TM1KS,TM1KS wrote:Hi, just an update, came across a comment on TM1tutorials.com that says:
the TI needs to be modified to include these parameters:
pExecutionid, pAppid, pNodeid and pWorkflowAction
Looks like the solution. Investigating the same. Will keep everyone posted.
Thanks.
I also see the case as you. Process work fine when ran separately. I still do not understand why more and more 4 parameters like. Can you give me sample not.
Examle: I have process and code TI the same picture under
Thank you so much