Flow Designer | SOAP step unable to use Password2 field in envelope

ericjackson
Tera Guru

I'm unable to use the Credential Value data pill (Password 2) from the Credential Alias to send a password in the SOAP envelope.

 

For troubleshooting I've hardcoded all values other than the password, which should be passed in using the Credential Alias defined in the Connection Details on the SOAP step.

 

When I add the Credential Value data pill and test the action the SOAP request fails with an authentication error. However, if I hardcode the password it works. I've also verified the stored alias password by using it in a separate REST call action.

 

Is there something particular that needs to be done to use the Credential Value data pill for a SOAP envelope?

The password2 field should be allowed in an envelope according to the docs: https://www.servicenow.com/docs/bundle/yokohama-build-workflows/page/administer/flow-designer/refere...

 

Has anyone else experience this issue? Any ideas how to resolve it?

1 ACCEPTED SOLUTION

ericjackson
Tera Guru

Turns out this is working correctly and the issue was a misunderstanding of what the Credential Value data pill contains. The data pill contains the base64 encoded username:password value commonly used for authentication.

 

In order to retrieve just the password from the credential alias we'll need to create another action and/or add a script step to retrieve it. 

View solution in original post

2 REPLIES 2

ericjackson
Tera Guru

Turns out this is working correctly and the issue was a misunderstanding of what the Credential Value data pill contains. The data pill contains the base64 encoded username:password value commonly used for authentication.

 

In order to retrieve just the password from the credential alias we'll need to create another action and/or add a script step to retrieve it. 

But wouldn't that show the username/password in the outgoing request payload?