How to store task report data into DB

Certified Senior Developer

Hi Everyone,

I have the requirement to capture the task report data into the database. Can anyone please help me out?

Thank you

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to shubhamy0005

    Short lived processes will keep the your app performance better. 

     Just like having an audit table and writing the data to it whenever you make changes. You can Similarly have a task table and when ever you assign the task to someone try to capture the details of assignee and all other required fields and save it to the db. you can later show these tasks to the related person based on the assignee.

    For this what you need to do is, you will have to create short-lived instances that is you create instance only on demand or only when someone is trying to initiate a task or complete the task. 

    when you are assigning a task to a user/group make sure the details are captured and stored in the DB and that particular instance where you are capturing should end after the completion of the task details entry into the Db. Post that when the assignee logs in he can take up the task and it will create a new instance for that particular task. 

    This will help you keep the app performance up and also you can have a track on all the tasks that were assigned(all details such as assigned on, by, completed on, over dues and always have them in your db and you can look back at it anytime)

Children
No Data