Summary
Error
.
Cause
Fix
SCR 32964 was opened to address this issue. The following solution can be implemented to prevent this from occurring. These changes were corrected in the Service Manager 7.10 implementation and it is recommended that all customers on prior versions should update the im.newcat record with the changes.
Make two changes to the im.newcat Process record:
1. Change the final expression from:
if same($L.old.category, category in $L.file) then (subcategory in $L.file=nullsub(subcategory in $L.file, $L.old.subcat);problem.type in $L.file=nullsub(problem.type in $L.file, $L.old.probtype);product.type in $L.file=nullsub(product.type in $L.file, $L.old.prodtype)) else ($L.exit="newcat")
to
if same($L.old.category, category in $L.file) then (subcategory in $L.file=nullsub(subcategory in $L.file, $L.old.subcat);problem.type in $L.file=nullsub(problem.type in $L.file, $L.old.probtype);product.type in $L.file=nullsub(product.type in $L.file, $L.old.prodtype))
2. Add the following to be called after:
$L.cat.query="name=\""+category in $L.file+"\"";$L.void=rtecall("select", $L.return.code, $L.category, $L.cat.query, {}, false)
This will prevent the process from calling the create.file.save panel and reselect $L.category so that the variable is bound to the new category.