Posted: 13 Feb 2019 6:43 EST Last activity: 14 Feb 2019 14:47 EST
Disable a Edit validate based on Condition
Hi All - I have 2 scenarios where I need to create a case with and without messages.
Scenario 1:On a form have a email property , this property has edit validate rule attached and during entry and submission of the form this property is checked and if it fails the validation, the case is not created which is a valid scenario
Scenario 2:In a upload process with excel we are using the same email property with edit validate rule attached, values from excel is mapped to this property , the edit validate rule is triggered and if it fails validation , messages are shown on the page and case is not created.
In this 2nd scenario we want the case to be created even though there are property related messages on the page , we did try clearing the messages with Page-Clear-Messages but since the messages are caused due to Edit validate rule , it fails to create the case.
Is there any way to disable the the Edit validate rule for this email property during the upload process or any OOTB activity which forcefully saves the page to DB even with Property messages.We cant have the edit validate removed as this is useful in the 1st scenario.
Can anyone help on this
***Edited by Moderator Marissa to update platform capability tags****