I have a constant SQL connection string that I am looking to programmatically update as the Data Source name does change with deployments. Is there a function that could perform this?
Using Automate 10.6.
You will need to populate a variable with the constant value during execution and then update the datasource. Currently there is no functionality to update constants programmatically.
If I recall correctly, the API does allow for the modification of constants created at the agent level, but not at the server level.
you can edit the xml config / registry
@David Seibel - Are you able to direct me to more information about the agent level API?
@Stephen Woodward - Do you mean the AML code? If not, can you provide some more information on this?
@David Seibel - Are you able to point me in the direction of some documentation for this API?
@Stephen Woodward - Do you mean the AML code? If not, can you explain further?
The API documentation:
The constants are stored in the registry in version 10 in:
You must be signed in to post in this forum.
Copyright © 2023 Fortra