I ran into an issue when trying to setup a simple workflow using Activiti 6.0.0 Beta1.
My Development Environment: Spring Boot 1.2.6 Activiti 6.0.0. Beta 1 Eclipse STS.
Note: I'm using spring boot and have added the Activiti 6 jar dependencies manually in the gradle file.
Scenario: The workflow process is a simple one - basically, from my spring base java code, whenever there is an exception, I instantiate an Activiti "ErrorProcess" (a process that I created using Activiti 6 UI App). This "ErrorProcess" is passed the "exceptionDetails" from the java code as a string, and in the workflow, there is a UserTask that uses "user@company.com" as the Assignee. Basically, the form just retrieves the ${exceptionDetails} from the start node and displays in a "display text" field.
Issues:
There are two issues that I can observe: 1. The process does get deployed correctly. However, the issue is that the task assignment doesn't seem to be happening correctly. I.e., when I log into the Activiti 6 UI App and view the Tasks tab, there are no tasks assigned for "user@company.com". I also tried assigning to a candidate group (Superusers) that the user "user@company.com" is part of, but that yielded the same result (i.e. the task was not visible in the tasks tab).
2. In the Activiti UI App (AngularJS based), when I try to initiate a new process instance, the right hand pane seems to be loading the form but it doesn't appear (all I can see is animation with three dots indicating that it is still being loaded…). The actual form with exceptionDetails field is not displayed.
What could be the issue ? Greatly appreciate any insights you could provide as we are looking forward to use Activiti 6 in a large project, however, this has become a show stopper.
I don't see any BPMN file. Did you set an assignee or a candidate user? A candidate user is only able to claim a task, it doesn't get assigned automatically. About your second issue, it would be good if you could share the app you created so we can try to reproduce.