Decision records in status reports show the wrong decisios status and the wrong section


Description

Decision records in status reports are not showing the proper decision status, and are showing the wrong section.

Steps to Reproduce

1. Create a new Decision on the related tab with State anything other than Pending.
2. Submit the Decision record.
3. Go the Project status report Table > Create a New Status Report > Decision status = "Approved".
Notice the Decision Status Value in the project status page shows as "Work in Progress", and it is getting reflected on the completed section.

Workaround

This problem is fixed in the next upcoming release. If you are able to upgrade, review the Fixed In section to determine the latest version with a permanent fix your instance can be upgraded to.

If a workaround is needed, changing the state choices on dmn_decision_baseline table to the following will resolve the issue:
Pending - -5
Approved - 2
Rejected - 3


Related Problem: PRB1448829