I am having a spring(java) application running on tomcat server, i want a work flow process of creating a ticket and maintain ticket status as it progresses and give permission to write(update) data of the ticket depending on the status of the ticket and the role of the user(i will give roles like admin and user thats it).