AnsweredAssumed Answered

start new process instance through Alfresco One API

Question asked by aalaa on Mar 9, 2016
I'm using the following rest call to start a new process instance : http://localhost:8080/alfresco/api/-default-/public/workflow/versions/1/processes
I receive the following error:
Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(255) ### The error may involve org.activiti.engine.impl.persistence.entity.HistoricTaskInstanceEntity.insertHistoricTaskInstance-Inline ### The error occurred while setting parameters ### SQL: insert into ACT_HI_TASKINST ( ID_, PROC_DEF_ID_, PROC_INST_ID_, EXECUTION_ID_, NAME_, PARENT_TASK_ID_, DESCRIPTION_, OWNER_, ASSIGNEE_, START_TIME_, CLAIM_TIME_, END_TIME_, DURATION_, DELETE_REASON_, TASK_DEF_KEY_, FORM_KEY_, PRIORITY_, DUE_DATE_, CATEGORY_, TENANT_ID_ ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ) ### Cause: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(255)"

The process contains a start event a human task and end event, everything works fine using the rest api included in activiti-rest.war file !
There is no clear documentation on how to make the process run on alfresco although it works fine in activiti !!

Outcomes