Activity Forums Salesforce® Discussions Explain the syntax and use of PolicyCondition in salesforce. Evaluate method.

  • Explain the syntax and use of PolicyCondition in salesforce. Evaluate method.

    Posted by Laveena on September 24, 2019 at 7:20 am

    Explain the syntax and use of PolicyCondition in salesforce. Evaluate method.

    Nikita replied 4 years, 7 months ago 2 Members · 1 Reply
  • 1 Reply
  • Nikita

    Member
    September 24, 2019 at 7:39 am

    Hi Laveena,

    The main purpose of the evaluate method is to evaluate the event against the transaction security policy.  Following is the signature for this method

    public Boolean evaluate(TxnSecurity.Event event)

    Based on the evaluation result it will either return true or false.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos