Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

how to use soap step in flow designer correctly

Lior grinberg1
Tera Contributor

Hi Friends,

I’m trying to call the ServiceNow Table SOAP API (incident / problem) from Flow Designer using the SOAP step, and I’m stuck.

What I’m trying to do

  • Use Flow Designer → SOAP step

  • Call incident.do SOAP API (get operation)

  • Then call problem.do SOAP API using the same credentials/instance

So, what I did is I first created a soap message 

  • Created SOAP Message from WSDL named soap_incident:

    https://<instance>.service-now.com/incident.do?WSDL
  • Authentication type: Basic

  • SOAP Message Functions auto-generated:

    • get

    • getRecords

    • insert

    • update

    • delete, etc.

then in the flow I created a soap step

 

and the problem is:

  • The SOAP step returns HTTP 200

  • But the response body is HTML, not SOAP

  • The HTML looks like the ServiceNow UI / Guest page

 

If I'm changing the "Connection Alias" to this URL https://<instance>.service-now.com/incident.do?SOAP
it is working, but then I cannot call to another soap step with https://<instance>.service-now.com/problem.do?SOAP.
because I cannot create another Connection Alias with the same domain.
So, my question is what is the correct setup?

Thanks for anyone that tries to answer 🙂

Lior Grinberg

 

 

 

 

 

5 REPLIES 5

@Lior grinberg1 ,

Could you please give me the screenshot of the Connection Alias that you used from ( sys_alias ) table..

Regards,

Sagnic