Manual approvals are skipped when included in Approval Coordinator activity and the error "Cannot read property "total" from undefined" occurs.
Steps to Reproduce
Apply the attached update set Catalog_jp.xml.
For more information about how to apply an update set, see the "Load customizations from a single XML file" ection of the , see the product documentation topic Save an update set as a local XML file.
Navigate to Service Catalog > Catalog Definitions > Maintain Items.
Go to Other Applications and click Try it.
Click Order Now to generate an RITM.
Open the RITM.
"Abel Tuter" is listed as an approver.
Approve the item.
Note that Group Approval is generated as CAB Approval.
Before approving, mavigate to the Group Approval tab and add a new group by clicking New.
Make sure that assignment group(Hardware) and Approval(Requested) is selected.
Approve the members related to CAB Approval.
Note that the manually added group approval is set to "No Longer required". The activity throws an error "Cannot read property "total" from undefined"rather than the manually added group being set to "Requested".
You can also see the error by going to the RITM record and clicking Workflow context > Workflow Log.
If you are able to upgrade, review the Fixed In field to determine whether any versions have a permanent fix.
If you are not able to upgrade, try using this workaround.
Download and apply the four attached files (one script include, three activity definitions):
Remove the "sys_update_xml "entries for those records so that they will receive future updates
Open the system properties list by typing sys_properties.list in the left navigation pane text box.
Set the system property glide.manual.approval.pickup_on_update to true.
Note – If this property is not listed in your properties list, click New and create a new system property with the following values:
- Name: glide.manual.approval.pickup_on_update
- Type: true|false
- Value: true
Related Problem: PRB1234664