Sending manual Approval Request to multiple administrators

Hi,

I have a workflow which is having an Manual action that sends Approval request to the 'Owner' , specified in that action. I can give only one value for the "Owner" field, now my problem is, i need to send this approval request to multiple owners. can any one help me in this.

thanks

[309 byte] By [sudheer1] at [2007-11-26 8:58:40]
# 1
you could have an iteration for your manual action, so that it is carried out for each approver
chits98 at 2007-7-6 23:00:47 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2
Hi Sudheer,Try calling a multiapproval process and pass the administrators as a List.Tha approval will be send to all administrators.Resh.
resh at 2007-7-6 23:00:47 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3

Hi,

I have implemented this, but still no improvement

<Action id='-1' process='Multi Approval'>

<Argument name='singleApprovalProcess' value='Approval'/>

<Argument name='approvers' value=$(approver)/>

<Argument name='approvalForm' value='New Profile Request'/>

<Argument name='style' value='first'/>

</Action>

sudheer1 at 2007-7-6 23:00:47 > top of Java-index,Web & Directory Servers,Directory Servers...
# 4
Is the 'approver' variable a list? Try something like this:<set name='approvers'> <list><s>oneApprover</s><s>otherApprover</s> </list></set>
JoaoGuilhermeDelValle at 2007-7-6 23:00:47 > top of Java-index,Web & Directory Servers,Directory Servers...
# 5

Hi,

I'm getting multiple Approval requests now, but the problem now is,

I'm sending a Form with Approval request, which is to be filled by the approver, Form inturn include Approve/Reject options. So at the time of filling the form approver may select Accept or Reject in the Form.After doing this my workflow is not moving out of MultiApproval subprocess.

I'm using Approver/Reject option which is in my Form not in the Approval request.Please let me know the solution for this.

sudheer1 at 2007-7-6 23:00:47 > top of Java-index,Web & Directory Servers,Directory Servers...
# 6

im getting

java.lang.NullPointerException

while doing the above.My multi approval xml is

<Action id='2' process='Configuration:Multi Approval'>

<Argument name='singleApprovalProcess' value='Approval'/>

<Argument name='approvers'>

<List>

<String>100200300</String>

<String>200200200</String>

</List>

</Argument>

<Argument name='approvalForm' value='New Profile Request'/>

<Argument name='style' value='first'/>

<Argument name='approvalTemplate' value='E-mail to administrator'/>

</Action>

Pls help me

sudheer1 at 2007-7-6 23:00:47 > top of Java-index,Web & Directory Servers,Directory Servers...
# 7

This NPE can be related to the email template. Does this 'E-mail to administrator' template exist? Try using an existing template at first, to get to know how they work. Open the template using lh and set the host, from and to fields to hard-coded values (change them to variables later on).

It that is not the case, check the whole stack trace of the exception (should be in the logs).

JoaoGuilhermeDelValle at 2007-7-6 23:00:47 > top of Java-index,Web & Directory Servers,Directory Servers...
# 8
Email is existing, i think some where null value is going, because of that im getting error and even control is not coming out of this Multi approval activity. Pls help me
sudheer1 at 2007-7-6 23:00:47 > top of Java-index,Web & Directory Servers,Directory Servers...
# 9
I still think it can be a null variable in your email template. But try to debug it with the BPE debugger.
JoaoGuilhermeDelValle at 2007-7-6 23:00:47 > top of Java-index,Web & Directory Servers,Directory Servers...
# 10
Hi,I think we need to give some value to objectType and objectName arguments in Multi approval request. can any one tell me what values to be sent for these arguments.
sudheer1 at 2007-7-6 23:00:47 > top of Java-index,Web & Directory Servers,Directory Servers...
# 11

Hi,

try this

<Argument name='objectName'>

<ref>user.waveset.accountId</ref>

</Argument>

<Argument name='approvers'>

<List>

<String>AO713</String>

</List>

</Argument>

<Argument name='approvalTemplate' value='Manager Notification'/>

<Argument name='objectType' value='User'/>

<Argument name='approvalForm' value='Manager Approval'/>

<Argument name='requester' value='ab123'/>

<Return from='approved' to='approved'/>

</Action>

Thanks

dortmund_developer at 2007-7-6 23:00:47 > top of Java-index,Web & Directory Servers,Directory Servers...
# 12
Hi, I'm able to send Approval request to Multiple approvers through Multi approval subprocess, now the problem is I need to get the First name and Last name of the Approver who responded to the request. Please let me know if any one know the solution. Thanks
sudheer1 at 2007-7-6 23:00:47 > top of Java-index,Web & Directory Servers,Directory Servers...
# 13
Can we set the Timeout period of that ManualAction by Multi Approval Process?
vikasjain@sdgccom at 2007-7-6 23:00:47 > top of Java-index,Web & Directory Servers,Directory Servers...
# 14
Yes, you should be able to pass the 'timeout' argument. This will also depend on the single approval process you specify, which by default in 'Approval' (which accepts the timeout value).
timbo at 2007-7-6 23:00:47 > top of Java-index,Web & Directory Servers,Directory Servers...
# 15

Hi,

You don't have to call MultiApproval directly, this gets called from ApprovalEvaluator if the <list> of approvers contains more than one approver. I normally use this logic if I want to call a custom multi-approval scheme, this works, you can see that I build up an approvals record and pass this into ApprovalEvaluator like this:

<Argument name='approvals' value='$(approvals)'/>

You can get the IdM AccountId of the approver who approved (assuming the style variable within the Multi-Approval is not set to all insisting all the approvers must approve) by inspecting the actualApprover workflow variable, use the debugger to take a look at what's available when the approval schema terminates.

HTH,

Paul

<Action id='2' name='Set Approval Info'>

<expression>

<block>

<set name='approvals.approvers'>

<filternull>

<append>

<rule name='RuleLibrary-EZO:getSecurityApproversRule'/>

<rule name='RuleLibrary-EZO:getUserAttribute'>

<argument name='accountId'>

<invoke name='getUser'>

<ref>WF_CONTEXT</ref>

</invoke>

</argument>

<argument name='attribute' value='idmManager'/>

</rule>

</append>

</filternull>

</set>

<set name='approvals.objectName'>

<cond>

<ref>user.waveset.accountId</ref>

<ref>user.waveset.accountId</ref>

<ref>objectId</ref>

</cond>

</set>

<set name='approvals.description'>

<concat>

<s>Approval request received for new user : </s>

<ref>approvals.objectName</ref>

</concat>

</set>

<set name='approvals.objectType'>

<s>User</s>

</set>

<set name='approvals.approvalForm'>

<s>EZO Create Approval Form</s>

</set>

<set name='approvals.approvalTemplate'>

<s>EZO Account Creation Template</s>

</set>

</block>

</expression>

</Action>

<Action id='3' name='Approval Evaluator' process='Configuration:Approval Evaluator'>

<ReportTitle>

<s>Approval Review</s>

</ReportTitle>

<Argument name='approvals' value='$(approvals)'/>

<Return from='approvals.approved' to='approved'/>

</Action>

<Transition to='Provision'>

<isTrue>

<ref>approved</ref>

</isTrue>

</Transition>

<Transition to='end'/>

PaulWalker999a at 2007-7-21 15:15:40 > top of Java-index,Web & Directory Servers,Directory Servers...