Skip to Content.
Sympa Menu

grouper-users - [grouper-users] rule : problem with ruleChekType membershipDisabledDate and ruleIfConditionEl

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] rule : problem with ruleChekType membershipDisabledDate and ruleIfConditionEl


Chronological Thread 
  • From: SIAD <>
  • To:
  • Subject: [grouper-users] rule : problem with ruleChekType membershipDisabledDate and ruleIfConditionEl
  • Date: Wed, 11 Sep 2013 17:30:43 +0200

Hi !

I try to use ifConditionEl in a rule configuration but it's not working and i don't know why...

My rule configuration :

ruleThenEnumArg0
ruleCheckArg1 8 rulesAttrDef 0bc47...
ruleActAsSubjectId  admin_grouper rulesAttrDef 1d840...
ruleActAsSubjectSourceId  ldapAdmin rulesAttrDef 49c19...
ruleThenEnum  sendEmail rulesAttrDef 9164f...
ruleThenEnumArg2  date de fin de fonction au ${safeSubject.getAttributeValue("dateFF")}\n\nLa suppression sera effective au ${ruleElUtils.formatDate(membershipDisabledTimestamp, 'dd/MM/yyyy')} rulesAttrDef a5f84...
ruleValid  T rulesAttrDef aba81...
ruleCheckType  membershipDisabledDate rulesAttrDef b19e7...
ruleCheckArg0  6 rulesAttrDef d0f6d...
ruleIfConditionEl  ${safeSubject.getAttributeValue("dateFF").equalsIgnoreCase("x")} rulesAttrDef e6332...
ruleThenEnumArg1  Suppression future du membre : ${safeSubject.name} pour le groupe ${groupDisplayExtension}

${safeSubject.getAttributeValue("dateFF").equalsIgnoreCase("x")} return true for two subjects in my group who have, indeed, a disabled date set to 2013/09/18.
If i remove ruleIfConditionEl attribute, it works fine...

i tried with different checkType (membershipAdd) with the same value for attribute ruleIfConditionEl : no problem...It doesn't work only when i use membershipDisabledDate

i try to debug but nothing appears in log file :-/

Can you help me ?

thanks :-)

--
Yoann Delattre 03 20 95 69 61
Équipe SIAD (Systèmes d'Information et Aide à la Décision)
DSI de l'académie de Lille (Direction des Systèmes d'Information)
110 avenue Gaston Berger - 59000 Lille


  • [grouper-users] rule : problem with ruleChekType membershipDisabledDate and ruleIfConditionEl, SIAD, 09/11/2013

Archive powered by MHonArc 2.6.16.

Top of Page