CMDBuild Forum

Could not upload XPDL file: The process id does not match

Hi all,

I run cmdbuild 2.2 on CM Appliance provided from Tecnoteca and it seems to work with process/workflow (Request for change).

But when I tried to upload XPDL file (ImportAsset_Shark4.4.xpdl in basic-connector-1.5.1) from create new process on Administration module, error occurred at below;

INFO  2014-07-31 16:37:10 [jsonrpc ] Calling url /workflow/uploadxpdl

INFO  2014-07-31 16:37:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'

INFO  2014-07-31 16:37:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'

INFO  2014-07-31 16:37:10 [workflow] getting process class with id '50066'

ERROR 2014-07-31 16:37:10 [jsonrpc ] A org.cmdbuild.workflow.xpdl.XpdlException occurred calling method class org.cmdbuild.servlets.json.Workflow.uploadXpdl: The process id does not match

---

Any suggestions or ideas would be appreciated.

Satoru Funai

I tried on the demo site (http://demo.cmdbuild.org/ )
And got a same error.
Please help me.

Previously Satoru wrote:

Hi all,

I run cmdbuild 2.2 on CM Appliance provided from Tecnoteca and it seems to work with process/workflow (Request for change).

But when I tried to upload XPDL file (ImportAsset_Shark4.4.xpdl in basic-connector-1.5.1) from create new process on Administration module, error occurred at below;

INFO  2014-07-31 16:37:10 [jsonrpc ] Calling url /workflow/uploadxpdl

INFO  2014-07-31 16:37:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'

INFO  2014-07-31 16:37:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'

INFO  2014-07-31 16:37:10 [workflow] getting process class with id '50066'

ERROR 2014-07-31 16:37:10 [jsonrpc ] A org.cmdbuild.workflow.xpdl.XpdlException occurred calling method class org.cmdbuild.servlets.json.Workflow.uploadXpdl: The process id does not match

---

Any suggestions or ideas would be appreciated.

Satoru Funai

 

Hi, I had the same problem: it is a mismatch between the value for the variable Id="<the name>" that is in 2-3 places in the template file:

- at the beginning <xml...
- in the middle of the file <xpdl:WorkflowProcess...
- [maybe at the end]
 
you could download the template from CMDBuild and compare the name in that variable in those places: you should to copy that into your file edited.
 
Bye
Daniele