8.28Don't make environment differences into code branches
Bad:
if (vars.env == "prod")
call Salesforce A
else
call Salesforce B
for configuration differences.
Better:
${salesforce.endpoint}
Different configuration provides the correct value.
Code branches should represent:
business behavior
not:
where the application was deployed
unless there's a strong reason.