12-19-2016 02:44 AM
I have created workflow using activity explorer and deployed in Alfresco Community, when I start workflow it is giving org.activiti.engine.ActivitiException: Unknown property used in expression,but it's working fine in actviti-explorer.
12-19-2016 03:41 AM
It seems there is something wrong with your activiti definition .
Please check the exception stack trace, there should be a detail message telling you what property is unknown
12-19-2016 03:44 AM
Below is the message.
org.activiti.engine.ActivitiException: Unknown property used in expression: ${status=="rejected"}
12-19-2016 09:06 PM
It seems status is unknown,could you please attach your activiti definition here ?
12-20-2016 12:49 AM
12-20-2016 03:12 AM
You can try to add following code under extensionElements sub element of managerapproval to your activiti definition
<activiti:taskListener event="complete" class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener">
<activiti:field name="script">
<activiti:string>
execution.setVariable('status', task.getVariable('status'));
</activiti:string>
</activiti:field>
</activiti:taskListener>
12-20-2016 07:06 AM
Hi,
Thanks,now the exception is gone.But it is giving one more exception saying "org.activiti.engine.ActivitiException: No outgoing sequence flow of the exclusive gateway 'sid-EA621276-097A-47E9-8B70-8EF3C218150B' could be selected for continuing the process".Can you please advice on this.
12-20-2016 11:08 AM
could you please attach your activiti definition here?
12-21-2016 12:47 AM
12-21-2016 03:55 AM
It seems the status value is null and the gateway is not able to choose the correct path.
You can try to bind status formProperty to status variable like this
<activiti:formProperty id="status" name="Status" type="enum" variable="status" readable="true" writable="true">
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.