We had similar situation. Here shared what we are following, but this may not be the complete solution.
We import those values thru the configuration xml update/modification for the deployed application.
If the Application Re-deployed(deployed application again deployed WITHOUT undeploy: deploy -> deploy) the values will not go to default.
If the application is Brand New/Deployed(deployed / deployed -> undeploy -> deploy) the values will goes to default.
If the total count of the process is very very less the approach of going to each one and change the values may be just ok in this case.
If the total count of process is way high, no go with the above approach (we are having 50+ processes).
Step1 - Once the application is deployed ONLY, we can get the configuration xml file in one of the below ways.
1. From workbench (Right Click on deployed Application -> Create LiveCycle Archive -> Select Export Runtime Configurations -> This gives xml file).
2. From adminUI (Home > Services > Applications and Services > Application Management -> click on deployed application -> Click on Export Runtime Config Button on top -> This gives xml file).
Update the values: The xml from the one of the above step is the latest of the deployed application, which will have the xml code block for each process. Replace all the values from one of the editor (ex: notepad) and save the xml.
Step2 - Updates:
Initial code block will be look like:
i. Replace all occurrences of "<requires-caller-authentication>true" with "<requires-caller-authentication>false"
ii. Replace all occurrences of "</requires-caller-authentication>" with "</requires-caller-authentication><run_as_configuration runasConfiguration="RUN_AS_SYSTEM"/>"
Final code block will be look like:
<requires-caller-authentication>false</requires-caller-authentication><run_as_configurati on runasConfiguration="RUN_AS_SYSTEM"/>
Step3 - Import Runtime Config: Now need to import the updated xml using admin UI for the application.
From adminUI (Home > Services > Applications and Services > Application Management -> click on deployed application -> Click on Import Runtime Config Button on top -> Upload updated xml -> Click on Import -> After this step DO NOT deploy, now all the services/process got updated can be check right away).
This is the process we are foloowing.
Well, I tried this and it works just fine.
The only problem is that I am supposed to come up with the process and then hand it off to people who have very little computer knowledge. They mostly just design the forms and then put them on the server.
So, I need a way to either make the settings permanent for the application OR be able to automatically import the Runtime Config file OR pass in the User ID and the password.
Your suggestion might get me going in the right direction though.