READ PROTECT in BO Update Rules

If you think that something doesn't work in Aware IM post your message here
Post Reply
PointsWell
Posts: 1457
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

READ PROTECT in BO Update Rules

Post by PointsWell »

When READ PROTECT is used in conjunction with other steps there are unexpected outcomes.

I tried to use READ PROTECT after a field value is set e.g.

Code: Select all

BO.ps_Attribute = BO.ps_AnotherAttribute.SomethingElse
READ PROTECT BO.ps_Attribute FROM ALL EXCEPT SYSTEM
Logged Here viewtopic.php?f=1&t=9602

In this instance it is setting the READ PROTECT before it tries to evaluate

In another instance I was trying to ensure that a field was UNDEFINED and then locked.

Code: Select all

If BO.ps_Attribute WAS CHANGED TO 'A Value' THEN 
BO.ps_OtherAttribute=UNDEFINED
READ PROTECT BO.ps_OtherAttribute FROM ALL EXCEPT SYSTEM
In this case it just ignored the READ PROTECT completely.
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: READ PROTECT in BO Update Rules

Post by aware_support »

DO NOT use protection rules in conjunction with other rules. This will not work
Aware IM Support Team
Post Reply