- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2017 08:05 AM
Hi,
We have created custom review workflow and deployed to Alfresco repository and wanted to start this workflow outside Alfresco using java, couldn't find right REST service or any other method to do this. Can you please help me on how I can achieve this? We are using Alfresco 5.0
Thanks!
- Labels:
-
Alfresco Process Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2017 10:45 AM
Judging by the available documentation for 5.0 version here Workflow | Alfresco Documentation , I think there is no way to start a new instance the way you want to do.
Maybe you should take a look on how webscripts are implemented, and then create your own.
The following project introduced a new start workflow webscript, but be carefull, as the project is not being maintained anymore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2017 10:45 AM
Judging by the available documentation for 5.0 version here Workflow | Alfresco Documentation , I think there is no way to start a new instance the way you want to do.
Maybe you should take a look on how webscripts are implemented, and then create your own.
The following project introduced a new start workflow webscript, but be carefull, as the project is not being maintained anymore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2017 08:15 PM
Excellent! Thank you so much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2017 10:02 PM
Hi Douglas,
One follow-up question I got to add two documents to the workflow when I start how can I add it? Please let me know.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2017 01:58 PM
You have to do something like this:
Basically what you need is to create the "package" object, add the documents and it is done.
Follow the sample code and you will be able to achieve what you need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2017 07:58 AM
Thanks Douglas...I will follow that method.