run an script on approval completion
Accepted answer
Hi Roger,
as far as I can tell, there is no such Participant (follow up action) available out of the box. You could have to code a Server extension. https://jazz.net/library/article/1000 shows how that is done as a workshop. I try to blog about API that I come across here: http://rsjazz.wordpress.com/. There are several posts that could be interesting to you, for example how to access approvals. You could launch the script using the Java process API.
as far as I can tell, there is no such Participant (follow up action) available out of the box. You could have to code a Server extension. https://jazz.net/library/article/1000 shows how that is done as a workshop. I try to blog about API that I come across here: http://rsjazz.wordpress.com/. There are several posts that could be interesting to you, for example how to access approvals. You could launch the script using the Java process API.
One other answer
Ralph Thank for guidance
I have written a java program using JavaAPI to approve from outside RTC
I have the idea to gain the approval email template and add an approve button in his content
the requester request approval in RTC
the approver get approval notification and directly approve from email form
In parralel this update our git repository on approved changeset.
All this works fine!
Comments
Thanks for the feedback, you might want to accept the answer that helped.
PS: doing it from outside is often a good idea. You can schedule such programs forexample running a JBE. Instead of addind a button to request approval, ou might want to consider use the API to add the approval in a participant.