10-03-2012 09:58 AM
http://my_server_ip/activiti-rest/service/task/13780/urlmethod: PUTcontent: {"name":"Google","description":"Good search site","url":"http://www.google.com','type':'url"}{"name":"Google","id":"13862","type":"url","description":"Good search site","url":"http://www.google.com"}10-04-2012 02:46 AM
10-04-2012 03:44 AM
10-05-2012 02:59 AM
Sure I did…all attachments are there. In the table "ACT_HI_ATTACHMENT" the tuple is correctly stored but in my task I still see nothing.
There also one more question i'd like to ask…is possible to attach a document/url to a process instance (not to a task as i was doing) via REST API?
Is also there an API to get the attachment stream from its ID (i added a a PDF file as content to the process instance via activiti-explorer…is there a way to get the file via REST API having the attachment ID) ?
10-05-2012 03:49 AM
How do you try to retrieve the attachment? Did you already try the Java api?I tryed to retrieve the attachments list with the REST API (http://activiti.org/userguide/#N12B3B) but "attachmentList" is empty. Also looking for them in the activiti-explorer I can see no one of them.
I'm afraid the REST API is not yet in sync with the Java API. Therefore, I created http://jira.codehaus.org/browse/ACT-1396.Thank you for creating this thread.
10-11-2012 08:53 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.