1 Reply Latest reply on Jun 15, 2018 12:27 AM by Samruddhi Patil

    Task Validation Rule

    Peter-John van Wichen

      I am trying to create a validation rule for tasks related to an service request.

       

      Requirement: For the task to be closed, the main service request must have a field filled out

       

      This is the formula I have.

      BMCServiceDesk__FKTemplate__c ="Template Name" &&

      BMCServiceDesk__FKStatus__c = "CLOSED" &&

      ISBLANK(BMCServiceDesk__FKIncident__r.Incident_Field)

       

      Thoughts on what I am missing?

        • 1. Re: Task Validation Rule
          Samruddhi Patil

          For comparing the name of the template and status you would need to use the corresponding Name field. Also the custom field API name should have an "__c" in the end.

           

          BMCServiceDesk__FKTemplate__r.Name = "Template Name" &&

          BMCServiceDesk__FKStatus__r.Name = "CLOSED" &&

          ISBLANK(BMCServiceDesk__FKIncident__r.Incident_Field__c)

           

          Hope this helps.

           

          Thanks,

          Samruddhi