On what basis the gNB will decide whether the UE should go to RRC Idle state or RRC inactive state?

Hi Experts.

On what basis the gNB will decide whether the UE should go to RRC Idle state or RRC inactive state?

If RRC Inactive state is enabled in gNB and UE also support it, then RRC Connected->RRC Inactive transition is done.

gNB check DRB Inactivity timer and SRB inactivity timer/RRC Inactivity timer. if both are expire, then UE is RRC released with suspend config in it.

If IE have UL data to send, it will initiate RRC resume request.

If UE have DL data, RAN paging will happen.

If there is no DL/UL data for UE, it will keep doing periodic RNA update every T380.

If UE spent 1500 s (vendor specific) without any DL/UL data, gNB will release UE context and when UE performs next RNA update gNB will send RRC release to UE.

If UE initiate any UL data while RRC inactive and gNB has already released UE context, then gNB will initiate RRC setup in response to RRC resume by UE. This is to setup UE context again.

Thank You.

So can I say that if the network and UE both support RCC Inactive state, all the UEs will first likely to go to the inactive state and after that UE will go to RRC release state?