10-01-2008 11:25 AM
10-15-2008 05:33 AM
01-27-2009 04:16 PM
02-02-2009 06:02 AM
02-03-2009 02:34 AM
02-13-2009 05:07 AM
final String createTaskDetailsUrl(ExecutionContext executionContext,
TaskInstance taskInstance) {
StringBuilder urlBuffer = new StringBuilder("base url of your host");
// command path
urlBuffer.append("/command/ui/");
urlBuffer.append(CustomUIActionCommandProcessor.REG_KEY_OPENTASK)
.append(CustomUIActionCommandProcessor.URL_QUERY_STRING);
// task id
String taskId = BPMEngineRegistry.createGlobalId("jbpm", String
.valueOf(taskInstance.getId()));
urlBuffer.append(OpenWorkflowTaskCommand.PROP_TASKID).append(
CustomUIActionCommandProcessor.URL_KEY_VALUE_SEPARATOR).append(
taskId);
urlBuffer.append(CustomUIActionCommandProcessor.URL_PARAM_SEPARATOR);
String taskType = QName.resolveToQNameString(this.namespaceService,
taskInstance.getName());
taskType = URLEncoder.encode(taskType);
urlBuffer.append(OpenWorkflowTaskCommand.PROP_TASKTYPE).append(
CustomUIActionCommandProcessor.URL_KEY_VALUE_SEPARATOR).append(
taskType);
urlBuffer.append(CustomUIActionCommandProcessor.URL_PARAM_SEPARATOR);
// transition
urlBuffer.append(OpenWorkflowTaskCommand.PROP_OUTCOME).append(
CustomUIActionCommandProcessor.URL_KEY_VALUE_SEPARATOR).append(
"dialog:manageTask");
return urlBuffer.toString();
}
10-20-2009 10:38 AM
11-04-2009 02:49 AM
11-09-2009 02:02 AM
11-09-2009 04:07 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.