Page 1 of 1

Automation HasPropertyGroupValue

PostPosted:Fri Mar 13, 2015 2:09 pm
by torokpeter
Hi All!

I want to create an automation rule with the HasPropertyGroup validation, but it won't fired. I have the following property group:
Code: Select all
<property-group label="Megrendelő" name="okg:megrendelo">
    <checkbox label="Megrendelve" name="okp:megrendelo.megrendelve"/>
    <input label="Megrendelte" name="okp:megrendelo.megrendelte"/>
    <textarea label="Megjegyzés" name="okp:megrendelo.megjegyzes"/>   
</property-group>
My validation is:
Property: okp:megrendelo.megrendelve
Value: true

However i check the checkbox, the automation rule doesn't triggered. What did i wrong?

Re: Automation HasPropertyGroupValue

PostPosted:Fri Mar 13, 2015 2:51 pm
by torokpeter
If i set the validation inactive the action triggers, but it is not test value. So i can set propertygroupvalue whatever i want the action will be triggered. Any idea?

Re: Automation HasPropertyGroupValue

PostPosted:Sun Mar 15, 2015 8:01 am
by jllort
Validation should be "okg:megrendelo" this is the property group name, "okp:megrendelo.megrendelve" is a property field into property group

Take a look here:
http://sourceforge.net/p/openkm/code/HE ... Group.java
http://sourceforge.net/p/openkm/code/HE ... Value.java

If these validation are not going as you expect, cal easilly build your own. Two weeks ago we had released the Portable OpenKM dev environment http://sourceforge.net/projects/openkmportabledev/