It's all about the answers!

Ask a question

How create New Stream with flow target required (at least one) ?


Marcio Lopes (11) | asked Jul 11 '17, 3:54 p.m.

How create New Stream with flow target required (at least one) ?


In update this code works

IWorkspaceHandle handle = operationData.getTargetWorkspace();
Workspace target = (Workspace) iris.fetchItem(handle, IRepositoryItemService.COMPLETE);
List flows = target.getFlows();
if (flows.isEmpty()) {
    >> message error
}


But insert no, because getTargetWorkspace() return null;

Be the first one to answer this question!


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.