I was following the Knowledge Base Article available at the
link and while configuring the Off-boarding template the script works fine and also end the relationships with the User respective Assets but the status of the asset still be "In-Use" which should have been changed to "In Store" because we've end-the-relationship with the respective assets.