Skip to main content
Question

Tech Portal "Completed" history duration

  • February 20, 2025
  • 3 replies
  • 34 views

Forum|alt.badge.img+8

Hi,

Was trialling the tech portal (Cloud 23R2). It appears that the completed area of the tech portal is coded only to show assignments 30 days in the past. What if we want to show 60 days in the past? Is there a possibility? Why was it hardcoded in the first place? TIA

 

 

3 replies

Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • 64 replies
  • February 20, 2025

Even if we modify the lobby to increase the days, the resulting page - page/ServiceTechnicianTaskExeuction/AssignmentCompleted seems to have it hardcoded to 30 days.


Thilini Kumarasinghe
Ultimate Hero (Employee)
Forum|alt.badge.img+21

Hi ​@athasanka 

Kindly note that what you have observed is correct.

We have reviewed the related SELECT query used to fetch data for the window "My Assignments - Completed". Based on our analysis, the query retrieves data with the following conditions as well,

1. The state is 'COMPLETED', 'INCOMPLETED', or 'CANCELLED'.
2. It checks the Work Finish Date:
If the Work Finish Date is empty, the data is fetched without date filtering.
If a Work Finish Date exists, the data is fetched for assignments completed within the last 30 days from the system date.

As a result:
For assignments in the COMPLETED state, only records from the last 30 days are fetched.
For assignments in the CANCELLED state, there is no filtering based on the Work Finish Date, so all relevant data is displayed.

 

This value is hard coded: (work_finish IS NULL OR trunc(work_finish) >= trunc(sysdate - 30))

 

I cannot confirm the reason, but it can be that, if more and more data is displayed, it might affect the performance of the technician portal. However, our Product Development team will have more information on this.

 

Best Regards,

Thilini

 


Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • 64 replies
  • February 23, 2025

Thanks Thilini,

It doesn’t make sense to apply a hard-coded 30-day limit on the select logic and again on the lobby data source. Should have been applied only on the lobby data source, allowing it to be configurable to the customers to modify the where conditions considering the system performance. 


This causes the “completed” area practically useless for us as our techs need to see farther than 30 days.

The lobby datasource has a few conditions applied.

But the element navigation simply directs to the destination page, completely disregarting the conditions on the datasource. Sounds like a disjoint somewhere?

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings