Problems Creating a custom precondition
I'm trying to create a custom precondition by modifying the process configuration xml with the following:
<precondition> <filePattern> <requires> <approval> <approvers> </approval> </requires> </precondition> I noticed on the wiki about having to create my own plug-in and implementing an extension to add preconditions, but since I just want to combine parts of one's already created can I do this just by modifying the process configuration xml as shown? |
2 answers
Jared Burns (4.5k●2●9)
| answered Oct 01 '08, 5:12 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I'm not sure I entirely understand your question. If my answer doesn't
help, could you provide more details on what you're trying to do?... When you specify a precondition in the XML, you have to specify an ID. This ID ultimately lets us map to some code that is contributed via a plug-in. This code is handed the block of XML that's inside the precondition, which can conform to a custom schema for that precondition. But if you specify XML that doesn't conform to the precondition's schema, the code won't know what to do with it. Hope that helps, Jared Burns Jazz Process Team kjdoyle wrote: I'm trying to create a custom precondition by modifying the process |
Thanks Jared that answered my question.
|
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.