Questions for Confluence license has expired.

Please purchase a new license to continue using Questions for Confluence.

Getting base url for a SNOW connector

 
1
0
-1

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

  1. Alexander Lukashov

    Awesome, this works. Thanks Serhiy

CommentAdd your comment...

1 answer

  1.  
    1
    0
    -1

    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.

    1. Serhiy Onyshchenko

      Hey, Alexander Lukashov, please mark this as answer (smile) 

    2. Alexander Lukashov

      Sure=) Thanks Serhiy

    3. Serhiy Onyshchenko

      You are always welcome.

    CommentAdd your comment...