To get the operation id programmatically: RTC process configuration source
I am trying to access the id of the behavior tag (com.ibm.team.workitem.operation.workItemSave) programmatically of a particular Project Area. can anyone please help me with the interface to get the same.
Earlier we used IClientProcess interface to get access to the id of com.ibm.team.workitem.editor.configuration.presentations. The code we used to get this information is:
IClientProcess clientProcess = processClient.getClientProcess(
We need a small code to get the id of the operation behavior. Below is the tag for the same.
<behavior>
|
3 answers
When I try to access the id of the configuration data from the process configuration source, I am able to get access to the id from the following code.
IClientProcess clientProcess = processClient.getClientProcess(
I am able to save the id of the "com.ibm.team.workitem.editor.configuration.presentations" in a String. In the same way i want to access the id of the operation behavior tag using RTC API's. And I want to read the below operation behavior tag.
|
Thanks for the quick reply. I want to know the RTC API's which is used to get the id of the operation tag (com.ibm.team.workitem.operation.workItemSave) programmatically. When I try to get access the id of the configuration data, I am able to do via ProcessClientService (which I mentioned above). I need RTC API or the logic where we can programmatically get the id of the behavior tag so that we can store in a string. The bold xml we need to store it in a string and for that we need RTC API's
<behavior>
Comments Please see my refined answer above.
|
Ralph Schoon (63.5k●3●36●46)
| answered Mar 25 '15, 5:10 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Mar 25 '15, 5:15 a.m.
I am not sure what ID you want to retrieve. If you need the operation ID's that are used in creating custom advisors/participants, that ID is independent of the project area and not available in that context.
See: https://rsjazz.wordpress.com/interesting-links/ especially Extension Points and Operation ID’s. If this is not what you are looking for, please provide more information. Please also note, the process configuration is ultimately an XML document and you can use XML tools to read its content. There are no public RTC API's to get to details in there. RTC internally uses XML tools to do so. If you are looking at how to get <precondition description="..." id="com.ibm.team.workitem.advisor.requiredProperties" name="..."> You would use XML tools such as XPath to locate the node and get to the attribute value. |
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.