It's all about the answers!

Ask a question

RTC/ccm: precondition not executed

Jakob L (111) | 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?

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

if you load this URL:

https://<Jazz Server>:9443/ccm/admin?

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.


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 (63.3k33646) | answered Mar 27 '18, 6:42 a.m.

I have run preconditions and follow up actions successfully. Not sure with the information given. Maybe a configuration issue? Interface issue? has a bunch of advisors I know worked. Maybe try one and compare yours?

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

Interesting link, thanks! 

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.