Integrations and APIs for Service

Get Involved. Join the Conversation.

Topic

    Kelvin Chung
    Check if Custom Object update from SOAP or from Agent...
    Topic posted February 27, 2019 by Kelvin ChungGreen Ribbon: 100+ Points, tagged Connect PHP, Custom Process Models - CPMs, SOAP 
    82 Views, 1 Comment
    Title:
    Check if Custom Object update from SOAP or from Agent Desktop in CPM
    Summary:
    Check if Custom Object update from SOAP or from Agent Desktop in CPM
    Content:

    Hi 

    Quick questions,

    (1) Is there a way to find out if Custom Object update from SOAP or from Agent Desktop in CPM in ActionUpdate ?

    (2) Is there a way to reject  RNCPM\ActionCreate of custom object in CPM script beside calling the object destroy() method ?

    Thanks!

    - Kelvin

     

     

    Version:
    August 2017

    Comment

     

    • Gursimran Singh Saini

      (1) Possible!
      Create a Report joining the Custom Object table to Custom Object Transactions (co_trans).
      Add the source column showing only the last updated source with this definition: last(co_trans.source_lvl1,co_trans.created)
      Run this Report from the CPM passing the Custom Object Record ID.
      There you go.

      (2) Just call return;