- Newest
- Most votes
- Most comments
The error you're encountering is due to a missing property called "programResults" in your TRANREPT Groovy script. This is a common issue when working with Blu Age modernized applications.
To fix this problem, you need to add a definition for the programResults variable in your TRANREPT Groovy script. Add the following line of code above where the error is occurring (around line 50 of the TRANREPT.groovy file):
Map programResults = [:]
This will initialize an empty Map called programResults, which should resolve the MissingPropertyException you're seeing. After making this change, try running the transaction report generation again, and it should execute without the error.
The error occurs because the script is trying to access a variable that hasn't been properly initialized or defined in the current scope. By explicitly defining the programResults variable as an empty map, you provide the necessary object that the script is looking for.
Sources
AWS Blu Age L3 Workshop: Unable to execute the groovy script "TRANREPT" | AWS re:Post
answered a year ago
Relevant content
asked 2 years ago
