Ohh, thanks @mattdahse, would I have to update the deployment everytime I refresh?
m
mattdahse
05/13/2019, 7:30 PM
Yes, you’d need to update the deployment with every refresh. You could avoid that by using runtime to determine if you’re in sandbox, but that seemed to be what you’re trying to avoid.
m
Michael
05/13/2019, 7:35 PM
Yeah, I was hoping to avoid hard coding a url in my script but also something that would persist after a sandbox refresh. Similar to config files that are different in each environment.
Michael
05/14/2019, 12:57 PM
Ah, i think I figured it out! I'd create two script parameters (one for prod and one for sandbox) and still use the if/else statement for runtime.envType to call the parameter I need