Page 1 of 1

TM1 10.2 Triggering TI process before & after submit/reject

Posted: Tue Apr 08, 2014 12:57 am
by TM1KS
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?

Re: TM1 10.2 Triggering TI process before & after submit/rej

Posted: Tue Apr 08, 2014 1:44 am
by TM1KS
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.

Re: TM1 10.2 Triggering TI process before & after submit/rej

Posted: Tue Apr 08, 2014 2:20 am
by TM1KS
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.

Re: TM1 10.2 Triggering TI process before & after submit/rej

Posted: Mon Jul 28, 2014 2:46 am
by ChauBSD
Hi
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.
Hi TM1KS,

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
Hinh.png
Hinh.png (4.53 KiB) Viewed 4241 times
Thank you so much