Hi Community,
as before, in many places I used this side script to make a connection between two or more fields or their dependency, but now I noticed that this script works exclusively and only for system admins and normal users, there are no required restrictions in this script at all. I don't understand how and why it happened at all? Can I help a little?
Best regards
def regulatoryRequirementNew = getFieldByName('Regulatory Requirement New')
def regulatorischeAnforderungen = getFieldByName('regulatorische Anforderungen')
def endDate = getFieldByName('End Date')
String regulatoryRequirementNewValue = regulatoryRequirementNew.getValue()
if(!regulatoryRequirementNewValue.startsWith("Keine Auswahl")){
regulatorischeAnforderungen.setRequired(true)
endDate.setRequired(true)
} else {
regulatorischeAnforderungen.setRequired(false)
endDate.setRequired(false)
}