It's all about the answers!

Ask a question

Making Attachment Required before a certain Workflow State


Muktar Mohammed (1311924) | asked Jun 11 '12, 5:12 p.m.
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



permanent link
Ralph Schoon (63.4k33646) | 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


Register or to post 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.