You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The problem i am facing is as follow:-

1. if i call this APi method then it will return all the packages without any problem:-

web/json/workflow/package/list

{"data":[

Unknown macro: {"packageName"}

,

Unknown macro: {"packageName"}

,

Unknown macro: {"packageName"}

,

Unknown macro: {"packageName"}

,

Unknown macro: {"packageName"}

,

Unknown macro: {"packageName"}

,

Unknown macro: {"packageName"}

,

Unknown macro: {"packageName"}

,

Unknown macro: {"packageName"}

]}

2. if i call this API it will not list all the processes for example the process under the " Engineers Association " package will not be listed:-

*http://localhost:8080/jw/web/json/workflow/process/list*

{"total":4,"data":[

Unknown macro: {"id"}

,

Unknown macro: {"id"}

,

Unknown macro: {"id"}

,

Unknown macro: {"id"}

]}

3. But to get the process under the " Engineers Association " package i can do this method call:-

web/json/workflow/process/list?packageId=EngineersAssociation

{"total":1,"data":{"id":"EngineersAssociation#42#process1","packageName":"Engineers Association","name":"Workflow Process 1","packageId":"EngineersAssociation","label":"Workflow Process 1 ver 42","version":"42"}}

So why the process under the " Engineers Association " package was not retuned when i call the " http://localhost:8080/jw/web/json/workflow/process/list*" method, while it was shown if i call this method *web/json/workflow/process/list?packageId=EngineersAssociation ???? 

Best Regards

  • No labels