AnsweredAssumed Answered

How to get CMIS ObjectId using Alfresco Java API

Question asked by charlie.k on Oct 19, 2015
Latest reply on Oct 21, 2015 by charlie.k

We are using Alfresco 5.0.d and Activiti workflows. Our application uses CMIS mostly. For workflow task list we use REST API.

When creating a workflow via Java API we need to set the CMIS ObjectId of the object associated with the workflow - is that possible?

I could not find a correct way to do these actions for Alfresco 5.0.d:
a) Java API: Convert NodeRef to CMIS ObjectId
b) Java API: Convert CMIS ObjectId to NodeRef
c) CMIS API (also Java): Convert NodeRef to CMIS ObjectId