It's all about the answers!

Ask a question

Can I create follow-up actions with a client plug-in?


Yehiel Glass (25528386) | asked Jul 04 '12, 10:47 a.m.
edited Mar 28 '13, 7:49 a.m. by Ralph Schoon (55.5k23642)
Hi,

I know how to use server plugin to create followup actions.
Is it possible to create followup actions with the client plugin?
How should I use the client plugin? Is there another way to trigger the plugin - without creating a new button?

Regards,
Yehiel

Comments
Geoffrey Clemm commented Jul 04 '12, 11:06 a.m. | edited Jul 04 '12, 11:12 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

A "follow-up action" is triggered by the operation on which the follow-up is defined. Is that what you had in mind? Or are you thinking about adding a new GUI action (e.g. via a new GUI button)? That would be something very different. Note: Please remember to phrase your question as a question.


Yehiel Glass commented Oct 02 '12, 3:15 p.m. | edited Oct 02 '12, 3:17 p.m.
Deliver action should succeed only if the last compilation succeeded.
We have a script code that knows how to check the last compilation status.
How can I call the script code before deliver and enable or disable the deliver action?
I understood that client plug-in could make this works. Maybe add a new GUI action?
What do you think? What are the options?
Thanks. 

One answer



permanent link
Lauren Hayward Schaefer (3.3k11127) | answered Mar 28 '13, 7:12 a.m.
JAZZ DEVELOPER
Hi Yehiel,

There is a built-in client side precondition that checks for compilation errors.  The precondition is run when the user attempts to deliver, and the delivery will not go through if there are compilation errors.

You can configure this precondition by doing the following:
  1. Open your project area in the Eclipse Client
  2. Click on the Process Configuration tab
  3. In the Configuration pane, expand Team Configuration > Operation Behavior
  4. In the Operations table, find the Source Control > Deliver (client) row and select the Everyone cell
  5. In the Preconditions section, click Add....
  6. Select the Clean Workspace precondition

If you want to add your own custom precondition, you can create a custom client side advisor.  https://jazz.net/library/article/495/ has information on how to do so.

Your answer


Register or to post your answer.