1624: into tempCount
1625: from ame_approver_type_usages
1626: where action_type_id = currentActionTypeId
1627: and approver_type_id not in (select approver_type_id 1628: from ame_approver_types 1629: where orig_system = ame_util.perOrigSystem) ;
1630: if tempCount = 0 then
1631: chainToBeInserted := true;
1632: else