Making Attachment Required before a certain Workflow State
Hello there,
I want to make sure a file is attached to a work item before it reaches a certain workflow state. I do not see the "Attachment" field listed for Required Fields under Team Configuration->Operation Behavior. Any suggestion? Thanks, mm
|
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Jun 12 '12, 3:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jun 12 '12, 4:04 a.m.
Hi,
I think you would have to create a custom precondition for that. https://jazz.net/library/article/784 provides a good starter in conjunction with https://jazz.net/library/content/articles/rtc/3.0.1/extensions-workshop/. The latter article shows a followup action. Preconditions are for the extension point com.ibm.team.process.service.operationAdvisors, you want the operation ID com.ibm.team.workitem.operation.workItemSave. https://jazz.net/wiki/bin/view/Main/CustomPreconditionsTable#operations provides a list of operation ID's. You implement IOperationAdvisor instead of IOperationParticipant. |
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.