Skip to main content
Apex l0355 (self) 님이 #Trailhead Challenges에 질문했습니다

There is a field on account object "number of days" which is a number field. When that field is blank in the account record then I should not be able to submit  for approval when i click on the submit for approval button it should display error message that says info is missing for certain field. I tried using isblank(expression) formula in entry criteria. but still whatever value I give in that field when a record is created , I'm able to submit my approval. But ideally when field is blank I mustn't be able to submit for approval. Can you guide me on how to achieve this.

답변 1개
  1. Michael Brown (Salesforce) Forum Ambassador
    2022년 3월 8일 오후 2:30

    Hi Apex, 

     

    You're on the right track, and your approval process entry criteria should prevent the record from being submitted and show the error a user. I would try setting a criteria similar to:

    Number_of_Days__c > 0

    Thanks,

    Mikey