@Mohamed Hussein Thanks for reaching out to Microsoft Q&A. apologize for any inconvenience caused on this.
I understand that you are unable to save the workflow post adding the new parameters in standard logic apps and it is failing.
Ideally, in ARM template if you want to pass any parameter you have to declare them in azuredeploy.json file and you will initialize them by declaring their values in azuredeploy,parameters.json file.
Since you are initializing the parameters directly before declaring them in main template that is the reason the workflow is getting failed.
If you want to declare the parameters directly from Parameters blade, then you need to add the parameter in the below way.
Or You can also add the parameters from the portal UI using the Parameter option in the designer blade of a particular workflow.
Refer to this documentation for more information about the parameters in logic apps in both Consumption and Standard.
Hope you this helps, let me know if you have any further questions.