How to set task false when reset button is clicked in scoped application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2023 05:03 AM
Hi All,
I have developed a scoped application for Exception request in which I have Reset button in Risk Assesment state.I have a custom table for task creation that extends a task table.When a user clicks Reset my task created in Risk Assesment,my task state should move to Incomplete and the exception state should move to new state.My issue is ,It is working fine in 1st step that is whenever a user clicks reset it is moving to new state and my task state moves to incomplete ,but when the user proceed further to risk assesment state,instead of creating new task, my old task (which is in incomplete state) gets updated with the new task as state open.I want a new task to be opened.I have attached the script part.It would be helpful if you help me with your solutions.
Thanks,
Vishnu Priya V