Follow up action : Cancel save action and display error message
![]()
Hello,
Is it possible to cancel save action on follow up plugin and display a specific error message.
I'm developping a plugin and i would like implement that.
Thanks
Antoine
|
Accepted answer
![]()
Ralph Schoon (62.7k●3●36●43)
| answered Feb 17 '14, 3:31 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Please see https://jazz.net/library/article/1000
The workshop shows that it is possible to return an error and how. The information is displayed by the various clients. Antoine LELEU selected this answer as the correct answer
|
3 other answers
![]()
I guess that can be implemented by using pre-condition - Advisors. You can detect the save action using ISaveParameter interface and if the action is save, you can trigger further action you need.
Extension point for Advisor would be com.ibm.team.process.service.operationAdvisors and once you got this, you can find save action as below // Action is save eg: if (operation.getOperationData() instanceof ISaveParameter) { // do action } RTC Extension workshop is a good place to get detailed info. Rational Team Concert 4.0 Extensions Workshop - Library: Articles - Jazz Community Site |
![]()
Hi Charlie,
Thanks for your answer but i really need to do that on follow-up action. It's the goal of the question.
I know we can implement that using precondition.
Antoine
|