Hi @Banuka Greetings! Thank you for posting this question here.
Azure standard logic app supports Deployment slots which lets you create isolated non-production environments and make changes to your app. The deployment slots let you test and validate the changes before you push the changes to production slot. Refer the article Set up deployment slots to enable zero downtime deployment in Azure Logic Apps for detailed information on this approach.
Kindly note that the limitation with this approach is the deployment of logic app to these slots are not currently supported through portal. You can either use VS Code or Azure CLI to push the app
You can create couple of development slots 1. With existing code
and 2. Make changes in the second dev slot
You can test the changes in the second dev slot and swap it with the production slot without any downtime. In case, you need to roll back, you can swap the production slot with the dev slot 1 where your initial app resides.
Hope this helps answer your question. Please let us know if you need any additional assistance or clarification with the implementation. We would be happy to assist you.
If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.