1
0
-1

Hello,

Please help how can I capture data coming from Jira to SN on SN side, ex. I have in SN incoming script line:


incident.assignment_group = replica.customFields."11410"?.value


I would like to know what is value of 11410 field is coming, why it is not saved in SN. I don't see any error.


I have found methods log.info and debug.errors, but don't know exactly how to configure them and where

the logs can be viewed.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi Andrew

      To capture the value on the ServiceNow side, just add following statement at the beginning of your incoming script


      debug.error("On purpose")



      Whenever a new message is received, the incoming sync processor will throw an error.
      In the error detail, at the bottom, you can inspect the content of the incoming message





      An alternative is to retrieve the value you are looking for



      debug.error("The value of customField 11410 is ${replica.customFields.11410.properties}")



      The properties will provide an insight on the different fields of the customField object

        CommentAdd your comment...