Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to change field value pdi2 if there is a change in field value pdi1,which are integrated?

VasaviSindG
Tera Contributor

How to change field value pdi2 if there is a change in field value pdi1,which are integrated?
I have 2 pdi's . i had integrated both. If state changes to closed in pdi 1 then it should be closed in pdi2 also. If state is cancelled then a incident should be created in pdi2. I have integrated using rest messages post method. When i used put or patch for update, it is raising an error message.

"{"error":{"message":"Method not Supported","detail":"PUT method not supported for API"},"status":"failure"}" 

How to achieve this

1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @VasaviSindG 

 

https://www.servicenow.com/community/developer-forum/put-api-giving-error-message/m-p/2476475

 

 

  1. https://www.servicenow.com/community/developer-forum/how-to-update-incident-record-from-another-serv...
*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************