Integrations and APIs for Service

Get Involved. Join the Conversation.

Topic

    Padma Prabha Varadarajan
    Stop trigger to another CPMAnswered
    Topic posted June 13, 2019 by Padma Prabha VaradarajanRed Ribbon: 250+ Points, tagged Connect PHP, Custom Process Models - CPMs 
    44 Views, 5 Comments
    Title:
    Stop trigger to another CPM
    Summary:
    Suppress save to call another CPM Handler script
    Content:

    Hi,

    We have a script where we are setting a field value in another object and saving it.

    When the save triggers, it is triggering the CPM Handler script associated with the object.

    I don't want the script to be triggered but just update the field and save simply. 

    Tried using save(RNCPHP\RNObject::SuppressAll), But didnt work.

    Kindly suggest a way to overcome this

     

    Thanks

    Padma

    Version:
    18D

    Best Comment

    Vlad

    You can still save without suppressing if the check box is checked. Checking it simply allows you to suppress. Right now you are suppressing on save, but it's not allowed because the check box is not checked.

    Comment

     

    • Vlad

      You must check "Can Suppress", save and deploy the process designer.

    • Padma Prabha Varadarajan
       Hi Vlad, Thanks for your quick response. Actually, I need the PD to be suppressed when the call from a specific object. If it is happening from some other object then I want to trigger the PD. In that case will this flag works? Please advise Thanks Padma
    • Vlad

      You can still save without suppressing if the check box is checked. Checking it simply allows you to suppress. Right now you are suppressing on save, but it's not allowed because the check box is not checked.

    • Vlad

      Answer Title: Enabling API suppression in Connect for PHP Customizations
      Answer Link: https://cx.rightnow.com/app/answers/detail/a_id/7890

    • Padma Prabha Varadarajan

      Hi Vlad,

       

      Thanks a lot for your quick response and guidance.

       

      Thanks

      Padma