How to get Process Template source
![]()
Hi,
id like to get process template source code using client API in order to versioning it. With process definition catched by Project Area this code work properly:
but if I use the same code on a IProcessDefinition object instead of IProjectArea I get that IProcessDefinitionWorkingCopy returned is null: IProcessDefinitionWorkingCopy processDefWC = (IProcessDefinitionWorkingCopy)workingCopyManager.getWorkingCopy(processDef); The IProcessDefinition object was obtained using findAllProcessDefinitions on IProcessItemService. Have someone any idea of why it returns a null value? Thanks, Michele. |
2 answers
![]()
use workingCopyManager.createPrivateWorkingCopy and not GetWorkingCopy :D
|
![]() use workingCopyManager.createPrivateWorkingCopy and not GetWorkingCopy :D Thanks for the answer. I've already tried it and it works. Best regards, Michele. |
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.