HTTP rest service call response monitor using Sitescope

 

Hello Experts,

Thanks for providing online expert day for Sitescope. 

If we have the list of URLs & request / response which will return all Failed Process, can be retrieved based on the Http REST Service Call.

Please let me know whether sitesccope can process this output. For every failure an event should be generated.

 

Thanks & BR,

Hari

 

 

  • Hello Hari

     

    You can create an URL Monitor or REST API Monitor for each of the requests separately. Otherwise, if all the URL have the same request headers you can create an URL List Monitor for all the URLs at the same time.

    Let us know if this information helps, thank you.

    Best regards,

    David Solís


  • Hello David,

    Thanks for your response.

    In my case the scenario is different, Please find the sample response for all failed cases for REST URL.

    REST URL : https://<BPM Server URL>/rest/bpm/wle/v1/processes/search?statusFilter=Failed

    Below response would be repeated for all the failures cases and we need to raise an event with the PID information.

    {
    "piid": "Unique ID 1",
    "name": "Process Name 1",
    "bpdName": "Unique Process Name 1",
    "snapshotID": "Internal Implementation Version ID 1",
    "dueDate": "2017-02-13T08:17:30Z",
    "executionState": "Failed",
    "instanceError": "Error Info which needs to be mapped"
    }

    In this case, how sitescope URL can be used to triggere an event ?

     

    Thanks, BR

    Hari