Integrations and APIs for Service

Get Involved. Join the Conversation.

Topic

    Kelvin Chung
    Detect user response incident email and trigger CPM PHP...
    Topic posted December 21, 2018 by Kelvin ChungGreen Ribbon: 100+ Points, tagged Connect PHP, Custom Process Models - CPMs, SOAP 
    54 Views, 3 Comments
    Title:
    Detect user response incident email and trigger CPM PHP curl to call web service
    Summary:
    Tigger PHP c
    Content:

    I am new to RNT and try to detect user response incident email and trigger CPM  to call web service. I am using PHP to get the change in an incident when user response email in the thread automatically without customer service representation involves by checking the old and new thread to see if there is any change. See code below. I already verify curl_exec() works for soap request on my service.

    Q1) Do you think above will work to detect user reply incident email?

    Q2) I use Execute Async option, will above automatic retry if curl_exec() fail to connect remote server?

    I can only test in debugging and not able to test in deploy. That's why I would like to verify before sending the code to deployment.

    I appreciate any help.

     

     

     

     

    Version:
    August 2017
    Code Snippet:

    Comment

     

    • Luuk

      Q1) Do you think above will work to detect user reply incident email?
      You can use the business rules to run your custom process whenever you want.

      Q2) I use Execute Async option, will above automatic retry if curl_exec() fail to connect remote server?
      I don't think it retries on failure. You'll need to find something for that.

      • Kelvin Chung

        Thanks for the help. But will the above code work instead of using business rules which I am not familiar with. I appreciate.

         

    • Luuk
      They run together. Read up on the business rules in the manual. The two work in harmony.