REST API Process Definition Image retrieval problem

cancel
Showing results for 
Search instead for 
Did you mean: 
dirunem
Member II

REST API Process Definition Image retrieval problem

Jump to solution

I am trying to build a web application based on Alfresco Community 5.2, and I need to get an image of process definition. Get request to REST API's

http://127.0.0.1:8080/alfresco/api/-default-/public/workflow/versions/1/process-definitions/activiti...

endpoint gives me following error: 

 

"error": {

    "errorKey": "framework.exception.ApiDefault",

   "statusCode": 500,

   "briefSummary": "09090041 Failed to created temp file: \n prefix: activitiAdhoc:1:4b361764e-1d6c-4956-8829-34dcc0abf955\n suffix: .png\n directory: D:\\projects\\alfresco-community\\tomcat\\temp\\Alfresco",

   "stackTrace": "Из соображений безопасности трассировка пакета более не отображается, но свойство сохранено для предыдущих версий.",

   "descriptionURL": "https://api-explorer.alfresco.com",

   "logId": "ad016eae-22fd-4132-9ab0-d4182b635eb6"

}

Please can someone tell me what I am doing wrong?

1 Solution

Accepted Solutions
dvuika
Alfresco Employee

Re: REST API Process Definition Image retrieval problem

Jump to solution

ADF works only with the Enterprise version of Process Services at this point. The embedded and/or community Activiti is not yet supported.

View solution in original post

7 Replies
eugenio_romano
Alfresco Employee

Re: REST API Process Definition Image retrieval problem

Jump to solution

Hi, Are you using ADF?

dirunem
Member II

Re: REST API Process Definition Image retrieval problem

Jump to solution

Hello, we are using ADF, but we only use parts that work with ECM and not BPM. Thank you for your reply.

dvuika
Alfresco Employee

Re: REST API Process Definition Image retrieval problem

Jump to solution

Are you trying to use ADF with the embedded Activiti engine in the Share? 

dirunem
Member II

Re: REST API Process Definition Image retrieval problem

Jump to solution

Yes, I am using embedded Activiti engine.

dvuika
Alfresco Employee

Re: REST API Process Definition Image retrieval problem

Jump to solution

ADF works only with the Enterprise version of Process Services at this point. The embedded and/or community Activiti is not yet supported.

eugenio_romano
Alfresco Employee

Re: REST API Process Definition Image retrieval problem

Jump to solution

Could be possible for you provide a really small app where this problem occur?

dirunem
Member II

Re: REST API Process Definition Image retrieval problem

Jump to solution

Thank you all for your help.