Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

SD 4.5 (SP 18): UI Rule with Limit range of values fails

Highlighted
jaume
Super Collector

SD 4.5 (SP 18): UI Rule with Limit range of values fails

hi,
this is a good one:
1-there is UI rule 'rule1' that shows an error message when field1 is missing. this rule applies before saving the element.
2-there is UI rule 'rule2' that limits the range of values of status field. this rule applies after opening a new element or before saving the element.
3-we create a new element and 'rule2' applies correctly.
4-we don't inform field1 and we save.
5-system applies 'rule1' and shows the error message. but 'rule2' hasn't been applied or it's no effective anymore and it doesn't limit the range of values of status field!!!!

we could modify 'rule1' and include the action of limiting the status field also. but that suppose to duplicate 'rule1' for every condition that limits the status field and for every rule that shows any error message (!!!!).
any help would be appreciated...
regards,
jaume
//Add this to "OnDomLoad" event