Making Attachment Required before a certain Workflow State
One answer
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.
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.