When you encounter issues with parameters not syncing correctly in a published Logic Apps Standard workflow, there are several factors to consider:
- Parameters File: Ensure that your
parameters.jsonfile is correctly configured and that it is not overriding the values set in thedefinition.parametersduring the publish process. If the parameters file contains different values, it could lead to the behavior you're experiencing. - Deployment Slots: If you are using deployment slots, verify that the correct slot is being published and that the app settings in that slot match your expectations. Sometimes, settings in different slots can lead to confusion.
- App Settings: Check if there are any app settings that might be overriding your parameter values after the workflow is published. If the app settings are set to different values than those defined in your workflow, it can cause discrepancies.
- Save vs. Publish: Be aware of the differences between saving and publishing your workflow. Changes made in the draft mode need to be published explicitly; otherwise, they may not reflect in the live version of the workflow.
- Refresh Quirks: Sometimes, the Azure portal may not immediately reflect the latest changes due to caching. Try refreshing the portal or checking the workflow definition through other means (like Azure CLI or PowerShell) to ensure that the changes have been applied correctly.
By reviewing these areas, you should be able to identify the cause of the parameter confusion in your Logic Apps Standard workflow.