xl8bot
1
Originally asked by Alexander Lukashov on 18 March 2021 (original question)
Hi
Maybe it’s a silly question but is there a way to get baseURL for ServiceNow in the outgoing/ingoing sync rules?
Thanks in advance
Comments:
Alexander Lukashov commented on 18 March 2021
Awesome, this works. Thanks Serhiy
xl8bot
2
Answer by Serhiy Onyshchenko on 18 March 2021
Might I ask you to try this hacky approach
def snowUrl = scala.concurrent.Await$.MODULE$.result(httpClient.snowClient.generalSettingsService.get, scala.concurrent.duration.Duration$.MODULE$.Inf()) .get()
.getIssueTrackerUrl()
Regards, Serhiy.
Comments:
Serhiy Onyshchenko commented on 18 March 2021
Hey, Alexander Lukashov, please mark this as answer (old community)
Alexander Lukashov commented on 18 March 2021
Sure=) Thanks Serhiy
Serhiy Onyshchenko commented on 18 March 2021
You are always welcome.
xl8bot
Closed
3
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.