Writing the trigger for Custom flow in Salesforce

Comments

1 comment

  • Saikumar Rachamalla Principal Technical Writer

    Hi Nishant Sah,
    Please try removing the static values and this should resolve the issue.

    processExport() --> method takes one parameter, which is connectorId, which is useful for Integration apps not for DIY. for DIY, don't add anything it should be as simple as below one.

    trigger CeligoOpportunityTrigger on Opportunity (after insert, after update)
    {
      integrator_da__.RealTimeExportResult res = integrator_da__.RealTimeExporter.processExport(); 
    }

    Let us know if you find this helpful!

    Happy posting!

    0

Please sign in to leave a comment.