Skip to main content
Is there a way to have 2 conditions in a formula under validate input on a screen component? Currently, the following is, in fact, working and triggering an error message:

{!Cancellation_Date} <= TODAY()

However, there are 2 conditions required and each time I attempt to add another condition, as seen below, the flow fails.

AND(

    {!Cancellation_Date} <= TODAY(), 

    {!Cancellation_Date} >= Sale_Date__c

)
2 respuestas
  1. 14 nov 2023, 6:04
    Yes, you can have multiple conditions in a formula for validating input on a screen component. The issue might be in the syntax. Ensure there are no extra spaces and use the logical AND function correctly. Here's the corrected version:

    AND( {!Cancellation_Date} <= TODAY(), {!Cancellation_Date} >= {!Sale_Date__c} )

    Make sure to replace {!Sale_Date__c} with the actual API name of the Sale Date field.
0/9000