levi-project's People
levi-project's Issues
Add methods to DBManager
Following methods are needed
TaskBean getTaskBean(String taskId)
ProcessInstanceBean getProcessInstanceBean (String processInstanceId)
DeploymentBean getDeploymentBean(String processId)
Change getGroupTaskList(String groupId) TO getUnassignedTasks(String groupId)
Eranda, this is the requirement for this method: getUnassignedTasks(String groupId)
We should get the TaskBean objects to the given group, which are not assigned yet.
Functionality to list tasks, claim button
Handling user sessions when user logs out
Handling DB etc
Adding the User Management Component
Retrieve TaskList for users using custom query
When a task is created for a user, set isActive attribute of TaskBean to true
When a task is completed, we should set isActive attribute of TaskBean to false.
When retrieving user tasks, write a custom query to
get taskIds from TASK_ASSIGNEE table of the DB
and from the TASK table, retrieve only the tasks for which isActive=true.
Exception handling in StorageService
Add logged in user name in the UI
Creating Business scenario to Demo-1
With Ishan
Check whether StartEvent has a form
When deploying a process find whether the startEven has a form & add a boolean filed to the DeplyomentBean to keep track of it
Remove methods from HibernateDao
Following methods need to be removed from the HibernateDao and add to the HqlManager.
public List getUserObjects()
public List getGroupObjects()
public List getAssignedTasks(String userId)
public List getUnassignedTasks(String groupId)
public TaskBean getTask(String taskId, String processInstanceId)
DBManager.getCompletedTasks() & DBManager.getRunningTasks() throws NullPointerException
processInstance.running is NULL even the DB has entries for Running_Task table
Find the location of persistence.xml programatically
Currently we are copying it to WEB-INF/classes/
Please do this in the code itself
Add ClaimTask(taskId) method in the back-end
Eranda (erandasooriyabandara) has to handle the DB update part.
Use DBManager to access persisted data
We have several classes which use HibernateDao to store and access persisted data. This need to be removed and need to use DBManager to access and store data.
Add & implement getUsersList() and getGroupsList() methods in DBManager
This is kinda urgent.
Is there any other way to do it than writing a custom query?
Modifying XSD and creating BPMN20.jar
Adding user task custom attributes
Velocity Template Folders
Change velocity.properties to direct to the folder which has .vm files
Copying .vm files to LeviEngine/templates
When extracting a lar file, copy the .vm files to LeviEngine/templates.
At the same time I'll try to find whether it is programatically possible to set the property for each extracted process
Add 'role' to the user-group relationship
Pls let me know when you commit this.
Removing data from DB when deploying a process
When a process is deployed, all the data of the process, it's process instances & tasks etc etc should be deleted from DB
New methods to DBManager
Need the following methods in DBManager.
I will add the rest here when required
List getUnassignedTasks(String groupId, String definitionId);
- Should retrieve unassigned tasks for this group and tasks belongs to the deployed process with this definition ID
DBManager.getUserList() returns duplicates
public List getUserList()
Duplicate methods in DBManager
I found there are two methods which do the same in DBMagager. Please find the usages and make them one asap.
public Map<String, TaskBean> getActiveTasksMap(String definitionId) {
return qlManager.getActiveTasks(definitionId);
}
public Map<String, TaskBean> getActiveProcessInstances(String definitionId) {
return qlManager.getActiveTasks(definitionId);
}
Assigning task to group - handle in DB
We should be able to assign a user task to a particular group rather than to a single user
We can retrieve the group via:
((TPotentialOwner)(task.getResourceRoleArray()[0])).getResourceAssignmentExpression().getExpression().getDomNode().getChildNodes().item(0).getNodeValue()
from the user task
Update Initial Chapters of the Project Report
Modify according to supervisor feedback
Eranda erandasooriyabandara
Ishan ishanjayawardena
keheliya
umashanthi
Implementing Taks & Process related methods in DBManager
Add both StartProcess & Start From buttons for processes starts with a user form
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.