It's all about the answers!

Ask a question

Can we use two equal follow-up action processors


Dmitry A. Lesin (21012847) | asked Oct 17 '14, 10:42 a.m.
edited Oct 17 '14, 10:43 a.m.
Hello!
We developed a simple follow-up action for Rational Team Concert. But now we need to set two working actions of it for different sets of parameters in the same project area. In other words, we added two custom follow-up actions with next parameters:

                    <followup-actions>
                        <followup-action xmlns="http://com.finecosoft.jci_adaptor.rtc.direct.workitem.extensions.service/server/BuildSyncMsgOnChange" description="When the specified work item type changes, a synchronization message will be created." id="com.finecosoft.jci_adaptor.rtc.direct.workitem.extensions.service.buildSyncMsgOnChange" name="RTC Synchro Direct Service Plug-in">
                            <trigger>
                                <changed-workitem-type id="defect"/>
                            </trigger>
                            <params>
                                <create-remote-item value="true"/>
                                <folder-out value="/home/admin/finecosoft_rtc_jira/rtc_out"/>
                                <fieldname-remote-id value="RELATED_ID"/>
                                <debug-mode value="true"/>
                                <tech-user value="JCI_USER"/>
                                <public-uri-ccm value="https://localhost:7443/jazz"/>
                            </params>
                        </followup-action>
                        <followup-action xmlns="http://com.finecosoft.jci_adaptor.rtc.direct.workitem.extensions.service/server/BuildSyncMsgOnChange" description="When the specified work item type changes, a synchronization message will be created." id="com.finecosoft.jci_adaptor.rtc.direct.workitem.extensions.service.buildSyncMsgOnChange" name="RTC Synchro Direct Service Plug-in">
                            <trigger>
                                <changed-workitem-type id="com.finecosoft.workitem.type.requestbat"/>
                            </trigger>
                            <params>
                                <create-remote-item value="true"/>
                                <folder-out value="/home/admin/finecosoft_rtc_jira/rtc_out_requestbat"/>
                                <fieldname-remote-id value="RELATED_ID"/>
                                <debug-mode value="true"/>
                                <tech-user value="JCI_USER"/>
                                <public-uri-ccm value="https://localhost:7443/jazz"/>
                            </params>
                        </followup-action>

You can see that service is the same everywhere but the parameters are slightly different to each other!

Can somebody confirm that this case is permitted? Or may be it's not correct case because it isn't supported by Jazz archtecture?

Thank you in advance!

Accepted answer


permanent link
Ralph Schoon (55.6k23642) | answered Oct 20 '14, 7:54 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Dmitry,

this is absolutely supported. The order of execution is from top down.
There are other configurable advisors (or follow up actions) that need to be configured multiple times. So, this is a valid use case.
Dmitry A. Lesin selected this answer as the correct answer

Comments
Dmitry A. Lesin commented Oct 20 '14, 10:51 a.m.

Hi Ralph,
Thank you for confirmation of this fact!

Your answer


Register or to post your answer.