Description and Root cause:
This is happening because an object "doubleJobData" is being cast incorrectly to "DoubleJobDTOForScheduleDTO". Hence it can't find a method that's supposed to be on the object. This has been fixed in 5.0.2. For 5.0 one needs to apply the below-mentioned steps.
1) Take a backup of the following three files. /opt/infoworks/platform/rest-api-service/target/api/repository/models/ScheduleDTO.js /opt/infoworks/platform/rest-api-service/target/api/repository/models/ScheduleDTO.js.map /opt/infoworks/platform/rest-api-service/src/api/repository/models/ScheduleDTO.ts 2) Replace the above mentioned files with the attached files. checksum details, 3516472422 9943 ScheduleDTO.js 3341831779 6755 ScheduleDTO.js.map 2805273617 8466 ScheduleDTO.ts. 3) Restart rest-api service using $IW_HOME/bin/stop.sh restapi && $IW_HOME/bin/start.sh restapi
Applicable IWX versions: