Hi @kanusha9
Can you please once check this referred link for code. ( Removing Requested (Sticky) Entitlements Using a BeforeProvisioning Rule)