Obtain flow target for workspace using API
Hi,
I've been looking at this for alittle while and I've not been able to work out the flow target for a workspace. I have the following code that provides me the workspace connection:
//get connection for workspace name IWorkspaceConnection connection = workspaceManager.getWorkspaceConnection(workspace, null);
I've tried using the call getFlowTable() and then on the returned IFlowTable use the getDefaultDeliverFlow() but these just appeared to return nulls.
Does anyone know how to get the default flow target for the workspace?
Thanks
Adam
Accepted answer
That is the correct way to get the default flow target. However, null means there is no default flow target. You may want to check that the workspace has one of its flow targets set as the default.
Comments
1 vote