Sometimes Sorting is Not Working in Task Report

Certified Senior Developer

Hi All,

I have created a task report where my initial sort is task_id in descending and configured in Site .Whenever I load the task report, it shows me the grid in a correct manner with task_id in descending order.

I am also showing a link where I am calling the record action to create a new task.

The task consists of 5 milestone with active chaining and all has back button except the 1st milestone.

When the user clicks the "next" button in 1st milestone then we generate task id by writing in DB.

Not working Scenario : 

From task report, the user clicks the link(create new task link),he completes 1st milestone data & click next ,goes to 2nd milestone.

Then from 2nd milestone if the user goes back and comes to 1st milestone, then user tries to navigate, so they just click the task report tab .

Issues :

1. Now the current task id is not visible in the task report grid

2. The sorting of task_id in task report is totally collapsed. Until this sorting was working properly for task_id in descending.

Note : In Record Action ,I called the process model which has start form since i am using the same PM in separate tab in Site to create task.

I am not getting what is the issue. So could you please help me on this.

Thanks in Advance .

  Discussion posts and replies are publicly visible

Parents Reply
  • Can you clarify what you mean by "comes back from 2nd screen to 1st screen" though?  Does that mean the process flow allows the old "allow user to go back" functionality?  That's not a very good idea - you should always have the process flow navigate forward from a task and, if you want to let the user loop back to a prior task, handle that in the process flow using an XOR gateway checking what button they've clicked.

    Additionally: what is the full code here?  IMHO the definition here should just be "tp!id", no bells or whistles.

Children