My Oracle Support Banner

UIM7.3.5.* Issue with Transitioning SNAPBACK TN. (Doc ID 2464676.1)

Last updated on APRIL 19, 2024

Applies to:

Oracle Communications Unified Inventory Management - Version 7.3.5.0.0 and later
Information in this document applies to any platform.

Goal

On : 7.3.5.8.0 version, Web Services

Issues in Transition API

1. Unable to move a disconnected Telephonenumber to Pending_Assign
First assign a TN to a service complete the configuration now disconnect the service consequently TN would be moved to Assignment state Disconnected now change the tnType of the TN to PortedOut. After that when try to do a pending_assign on that number

2. Unable to move ported number to Pending_Assign
First assign a TN to a service complete the configuration now disconnect the service consequently TN would be moved to Assignment state Disconnected now change the tnType of the TN to PortedOut wait for a day for OOTB ruleset to move the TN to Assignment state Ported and inventory state unavailable. Now once number is in Ported state try to do a pending_assign on that number

Both the cases above fails with following error

"2018-10-11 09:27:05,991 ERROR [123456] [] [156] [ConsumerManagerImpl] [INV-220048] The resource type TelephoneNumber with Id <MSISDN> is not available because the resource is already assigned."

Custom Code:

TNConsumer cons = (TNConsumer) curConsumer;
TransitionManager transitionManager = PersistenceHelper
.makeTransitionManager();
TNAssignment assignment = (TNAssignment) cons;
transitionManager.transition(assignment,AssignmentAction.SNAPBACK);
transitionManager.transition(number, ResourceAction.ACTIVATE);
assignment.getResource().setCurrentAssignment(null);

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.