Service Desk Practitioners Forum
cancel

Differences between the Rules

SOLVED
Go to solution
Highlighted
Luis Fernando G
Trusted Contributor.

Differences between the Rules

Does anyone know what difference between Database Rules and UI Rules, because someones have the same actions?
Thanks
Luis Fernando
5 REPLIES
Steven Robinson1
Trusted Contributor.
Solution

Re: Differences between the Rules

Database rules run when something in the database changes. UI rules run in response to events in the UI.

Sure there is more to it but hope this helps.
Chris Bailey_3
Outstanding Contributor.

Re: Differences between the Rules

Luis,

Typically database rules are executed after an item is saved and closed. UI rules can be triggered to occur while the item is still being displayed based on certain actions or criteria. The difference is based on the timing when each are executed.

Thanks,
Chris
George M. Meneg
Acclaimed Contributor.

Re: Differences between the Rules

Also DB rules are executed with system rights while UI rules are executed with the rights of the current person.
menes fhtagn
Mike Bush
Acclaimed Contributor.

Re: Differences between the Rules

And never forget that in a lot of cases the user SEES the UI rule change a field and can over-ride what it does! This is fine if that is what you want but not good if your business process relies on the value.

Also UI rules will NOT fire if someone does UPDATE ALL or uses a web interface. So quite often you find that a DB rule is needed to back up a UI rule!
Mark O'Loughlin
Acclaimed Contributor.

Re: Differences between the Rules

Hi Luis,

just a final note. The more database rules running the more of an impact this may have against the database itsself as opposed to using UI rules

But there are times when you need to run DB rules especially as Mike said you need DB rules to fire for Servcie Pages calls