Escalation not working

Hi,

We have a scenario where in if a user requests for access and the approver is not available, the request needs to be escalated to other approvers. However, we observe that the requests are left in queue and not being escalated. Here is the rule we are using for getting the escalator which seems fine to me:

<Rule authType='EndUserRule' name='GetDefaultEscalators'>

<RuleArgument name='approvers'/>

<RunAsUser>

<ObjectRef type='User' id='#ID#Configurator' name='Configurator'/>

</RunAsUser>

<block>

<defvar name='returnList'/>

<dolist name='currentApprover'>

<ref>approvers</ref>

<append name='returnList'>

<invoke name='getIdmManagerName'>

<invoke name='getObject' class='com.waveset.ui.FormUtil'>

<rule name='EndUserRuleLibrary:getCallerSession'/>

<s>User</s>

<ref>currentApprover</ref>

</invoke>

</invoke>

</append>

</dolist>

<ref>returnList</ref>

</block>

</Rule>

Don't know how to go about this and what else to check for. Appreciate if somebody can throw light on this.

Thanks,

[1328 byte] By [sungirla] at [2007-11-27 7:42:29]
# 1

Hi,

Here's one possible solution. If your are using the Out Of The Box approval process then the escalators needs to be specified in the approval object. See the block below. If your rule updates the approvals.approvals[Lighthouse].escalators attribute then it should work.

Argument approvals =

<Object>

<Attribute name='approvals'>

<List>

<Object name='Lighthouse'>

<Attribute name='approvalForm' value='#ID#Form:ApprovalForm'/>

<Attribute name='approvalTemplate' value='#ID#Email:ApprovalTemplate'/>

<Attribute name='approvers'>

<List>

<String>approver1</String>

<String>approver2</String>

</List>

</Attribute>

<Attribute name='description' value='Organization Approval'/>

<Attribute name='escalators'>

<List>

<String>escalator1</String>

<String>escalator2</String>

<String>escalator3</String>

</List>

</Attribute>

<Attribute name='objectName'/>

<Attribute name='objectType' value='Organization'/>

</Object>

</List>

</Attribute>

</Object>

CK

crouching_kittena at 2007-7-12 19:23:21 > top of Java-index,Web & Directory Servers,Directory Servers...