It's all about the answers!

Ask a question

RTC/ccm: precondition not executed


Jakob L (11) | asked Mar 21 '18, 12:11 p.m.

I have a precondition on Save Work Item, implemented as Java plug-in, and installed via process configuration -> team configuration -> operation behavior -> preconditions -> add. It was successfully discovered and added. 

However, the precondition is never called. I set a breakpoint in OperationAdviceManager.runAdvisors, and the advisor is not listed in the advisorElements at all.
There is also no error messages in the ccm.log.
I also have a participant registered as a follow-up action - this one is executed successfully.
I tried to restart the server, also requesting server restart via the admin interface, but it didn't help.
Any ideas what could be wrong?


Comments
Luca Martinucci commented Mar 27 '18, 7:45 a.m.

Jakob,
if you load this URL:

https://<Jazz Server>:9443/ccm/admin?internal#action=com.ibm.team.repository.admin.provisionStatus

you can check whether your extension has actually been deployed or not.
Check for it in that page.


Jakob L commented Mar 27 '18, 7:49 a.m.

Luca,

it has been deployed: it is shown on this page and then the participate is also a part of this extension and is running fine. 

One answer



permanent link
Ralph Schoon (59.7k23643) | answered Mar 27 '18, 6:42 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I have run preconditions and follow up actions successfully. Not sure with the information given. Maybe a configuration issue? Interface issue?

https://rsjazz.wordpress.com/?s=advisor has a bunch of advisors I know worked. Maybe try one and compare yours?


Comments
Jakob L commented Mar 27 '18, 7:50 a.m.

Interesting link, thanks! 

Your answer


Register or to post your answer.