Http Post call in pattern designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 04:18 AM
Hi,
How can I pass the username and password in the HTTP POST call? Credentials are already added into the credential table.
Thanks
Richa
- Labels:
-
Discovery
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 03:18 AM
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://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/