Duplicate entries in "Time Worked" related list are seen


Jakarta Patch 8a


The CHG record's state field is being updated twice, causing the double entry in Time Worked related list.


After reviewing both Business Rules and Client Scripts on the change_request table, it was found that neither of those was responsible for the experienced behavior.

In the user's instance, there was a custom UI Action "Next Step" where the user was updating the state of the CHG via this code:

current.state = parseInt(current.state) + 1;


This is the update which should move the CHG from a state of "Draft" to a state of "Assess".

The issue happens when, somewhere within the user's custom CHG workflow "CHG - General" or it's subflow "CHG - Approval", there is a second state update. This is causing the double stamp under the "Time Worked" related list.

For certain, the root cause of the second state change is in the user's custom workflow(s).

Finding out where within the workflow(s) this second update is happening, and what specific workflow activity is causing it, is something that the user and their development team would handle internally.

Article Information

Last Updated:2018-08-27 06:00:38