11-20-2012 07:24 AM
Hi,
I have a workflow and I would like to complete steps without any action of the user. That means istead of going inside each document to click on the finish button, I would prefer to implement one common button relating to a list of documents, which complete the same step for each document of the list.
Is that possible and how can I achieve that task?
Thanks
Charles
11-28-2012 01:21 PM
You can use the following method from DocumentRoutingService:
/**
* Ends a task
*
* @param session
* @param task
* @param data
* @param status name of the button clicked to submit the task form
*
* @since 5.6, was on RoutingTaskService before
*/
void endTask(CoreSession session, Task task, Map<String, Object> data,
String status) throws ClientException;
where
11-28-2012 01:21 PM
You can use the following method from DocumentRoutingService:
/**
* Ends a task
*
* @param session
* @param task
* @param data
* @param status name of the button clicked to submit the task form
*
* @since 5.6, was on RoutingTaskService before
*/
void endTask(CoreSession session, Task task, Map<String, Object> data,
String status) throws ClientException;
where
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.