[SOLVED] Extending "Required Attributes For Type and State" Advisor
Hi jazz team,
I have a curious issue, related to advisor process configuration. I do not know if the approach is correct, but the case is I can not use an advisor twice on the operations grid. So, where I have "Every One" on the grid I am configuring the "Required Attributes For Type and State" advisor, but because I need some specialized configurations of the same advisor I am reusing it on the next column of the grid. In summary, my requirement is configure similar things for two roles, where the first one is "Every one (default)" and the other is "X". So, after configure "Required Attributes For Type and State" advisor for both, others advisors stop and can I not run the other advisors. But if I remove one of the "Required Attributes For Type and State" advisor, for the one of the two columns, all the others advisors back to run again.
For first I imagine that I can not have the same advisor configured twice. Based this, I think that if I can extend the "Required Attributes For Type and State" advisor, to stop advisor replication. But I want to extends the "Required Attributes For Type and State" advisor to reuse your configuration tab, just for it.
So, How can I extends this "Required Attributes For Type and State" advisor, to reuse your configuration tab; And it can solve the problem, if not how can I solve it with another approach?
Obs.: I am using server side api.
Best regards.
|
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| answered Nov 05 '13, 2:36 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Joao,
please have a look at https://jazz.net/library/article/292 how behavior is supposed to work. If you configure operational behavior for several roles, the operational behavior first found is used. There is no "Inheritance" mechanism. The purpose is to be able to configure different behaviors for different roles. E.g. the "ComponentOwner" role could be able to deliver, while other roles need an approval. So, if you configure another role in the grid, that effectively overrides the behavior for this operation for this role. Joao Bosco Jares A. Chaves selected this answer as the correct answer
|
2 other answers
|
Below an startup tutorial for this theme:
https://jazz.net/wiki/bin/view/Main/ProcessAspectEditorCreation
Comments 1
sam detweiler
commented Nov 09 '13, 8:26 a.m.
thanks. My problem is designing the UI, not the mechanics of making it work.
Joao Bosco Jares A. Chaves
commented Nov 10 '13, 8:03 a.m.
@sam It´s my problem too. I mentioned the getting starting tutorial, to prepare other people that can contribute with us. But for sure the most problem is extensibility. And for this point I think we can start a project to developer a osgi framework focused on rtc tools. May be a plugin with many archtypes using method factory pattern, and the end user can extend with this hook methods. So It´s just a little idea to start in the case if we can not find nothing similar or better. What do you think about it. best regards. 2
sam detweiler
commented Nov 10 '13, 8:20 a.m.
my comment re the UI was I have trouble figuring out what UI element to use when, and how it lays out and operates..
Joao Bosco Jares A. Chaves
commented Nov 10 '13, 10:17 a.m.
me too ;) Tell me more about the idea of "the data model be delivered from the server" and "ONE package to install in ONE place" . Suppose I want to solve your problem. 1
Ralph Schoon
commented Nov 11 '13, 3:29 a.m.
| edited Nov 11 '13, 3:31 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I am all with you here.
1
sam detweiler
commented Nov 11 '13, 8:04 a.m.
this is partly why we don't have the full admin UI on the web client. the plugin UI is deployed on the eclipse client.
2
Ralph Schoon
commented Nov 11 '13, 8:16 a.m.
| edited Nov 11 '13, 8:17 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Sam, please note that with 4.0.5 we have the first attempts to be able to configure operational behavior in the Web client. Please see: https://jazz.net/downloads/rational-team-concert/milestones/4.0.5RC1?p=news
Joao Bosco Jares A. Chaves
commented Nov 11 '13, 8:29 a.m.
Very nice @Ralph. Thanks ;)
sam detweiler
commented Nov 11 '13, 8:33 a.m.
thanks Ralph.
showing 5 of 9
show 4 more comments
|
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.
Comments
Unfortunately, the product provided advisors are not 'extendable'. You could extract the source and build your own version with your unique identifiers. (I have done this).