More of a best practices question here regarding the salesforce app.
Currently it is built to only connect to a prod version of salesforce and not a imp. Hypothetically, if I wanted to build it to connect to an imp, I am assuming I would need to make a duplicate of the app, change the url to match the imp, and duplicate all the triggers and actions to work with that new app.
-
Do I need to duplicate everything or is there a way to simply recreate the app with the new url?
-
If i didnt want to hardcode the url in, could i pass in a url either through a 3rd keyvault value, connection value, or a entry parameter and which do you think would be best to allow it to be flexible to connect to multiple dev accounts? (not connect to multiple within the same automation, just be able to use it multiple times for different accounts)
-
Could we bypass all of that by simply changing the default app to have a prod/imp flag and if imp you enter your url otherwise it uses the default?
Just wanted to get your thoughts. Been working on some SF automations recently and testing against an imp instance would be helpful instead of having to connect to prod