06-28-2013 08:12 AM
13:38:14,132 ERROR [org.activiti.engine.impl.interceptor.CommandContext] (http-localhost-127.0.0.1-8080-4) Error while closing command context: org.activiti.engine.ActivitiException: Unknown property used in expression: ${systemSpecificationCheck}
at org.activiti.engine.impl.el.JuelExpression.getValue(JuelExpression.java:53) [activiti-engine-5.12.jar:5.12]
at org.activiti.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior.execute(ServiceTaskDelegateExpressionActivityBehavior.java:65) [activiti-engine-5.12.jar:5.12]
at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:44) [activiti-engine-5.12.jar:5.12]
at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:86) [activiti-engine-5.12.jar:5.12]
@Named
@SessionScoped
public class SystemSpecificationCheck implements JavaDelegate, Serializable{
private static final long serialVersionUID = 1L;
private Logger logger;
@Inject private TaskService taskService;
public void execute(DelegateExecution execution) throws Exception {
logger = LoggerFactory.getLogger(SystemSpecificationCheck.class);
logger.info("[ACT] SpecificationCheck is running", this);
try {
// GET THE NEEDED VALUES FROM THE ENGINE
String processInstanceId = execution.getProcessInstanceId();
logger.info("[ACT] ProcessInstanceId = " +processInstanceId, this);
//TaskService taskService = execution.getEngineServices()
// .getTaskService();
Task t = taskService.createTaskQuery()
.processInstanceId(processInstanceId).singleResult();
logger.info("[ACT] Task ="+t.getName(),this);
<serviceTask id="abc" name="Spezifizierung nötig?" activiti:delegateExpression="${systemSpecificationCheck}"></serviceTask>
CdiJtaProcessEngineConfiguration processEngineConfiguration = new CdiJtaProcessEngineConfiguration();
07-01-2013 04:28 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.