How do you know that this error is happening only when that particular script is triggered? If you found from Maximo logs then Maximo logs must also give you some information on why the script is failing.
1. Which version of Anywhere are you using? Anywhere 764 has a problem with download work list when using web server url. The request url size is too long for web server to process data.
2. Are you facing script failure while updating work order data as well? Like update description of the work order from anywhere and the script failure logs can be seen.
3. Iterating the point from Bradley - what is it that you are trying to achieve by calling object structure script?
------------------------------
Biplab Choudhury
Maximo Consultant
Tata Consultancy Services
Melbourne
------------------------------
Original Message:
Sent: Fri September 24, 2021 01:07 PM
From: MAX092012
Subject: Work list records could not be downloaded error on Work Items List View in Anywhere
Hi ,
The following error message is triggered when an automation script is invoked in OSLCWODETAIL object structure. The script invokes overrideValues(ctx) to set value on non-persistent field for displaying in the UI of Work order details view. I'm not sure how to overcome this issue. Please let me know whether anyone has faced this issue before.

------------------------------
MAX092012
------------------------------
#AssetandFacilitiesManagement
#Maximo
#MaximoAnywhere