Http Post call in pattern designer

Richa19
Tera Contributor

Hi,

 

How can I pass the username and password in the HTTP POST call? Credentials are already added into the credential table.

Thanks

Richa

 

1 REPLY 1

AJ-TechTrek
Giga Sage
Giga Sage

Hi @Richa19 ,

 

I believe the best option is to create a Custom Operation and put your script there. And then create a step from your Pattern using this custom Operation.

Would that work for your scenario?

See more details about creating Custom Operations here

 

https://docs.servicenow.com/bundle/washingtondc-it-operations-management/page/product/service-mappin...

 

https://www.servicenow.com/community/itom-articles/customize-pattern-operations/ta-p/2295770

 

https://www.servicenow.com/community/itom-articles/create-new-or-modify-patterns/ta-p/2295761

 

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.

 

Thanks

AJ

Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/