-
Notifications
You must be signed in to change notification settings - Fork 43
Description
The workflow pipeline fails with getaddrinfo ENOTFOUND ***.service-now.com for instances configured with a different domain name.
When looking further into our instance configuration, we do have the following set:
instance_name: abcd123
instance_ID: xxxxxxxxxxxxxxxxxxxxxxxxx
instance_domain_suffix: servicenowservices.com
We do also have custom URL enabled and configured for the instance; however we can still resolve and access the instance using: abcd123.servicenowservice.com
The problem is that we can't change the domain_suffix as this is already configured and registered.
Looking further at your code; I do see that service-now.com is hard coded and appended in many places in each of the actions source code where the instance URL is being generated.
These actions should be portable and applicable to customized instances and not just to out of the box servicenow instances; therefore I would suggest enhancing the code to parameterize the domain name defaulting to service-now.com but with the option to pass it as one of the secrets in the case where customized instances have the need to do so.
We would like to leverage these actions but unfortunately we're failing on the first step due to the domain name limitation.
Also the pipeline does not fully work in personal development instances (PDI) - mainly the publish part fails as publishing capabilities have been disabled for PDI; therefore the publishing action works only with licensed instances where publishing has been enabled - It is also worth including this note for community there is awareness. It failed on me multiple times in my PDI environments and that's why I had to switch to our org instances where now I am facing domain related issues as described above.
Would appreciate some insight on how we can get over this issue so we can start leveraging these actions.