Skip to Content
0
Former Member
Dec 11, 2006 at 10:29 AM

GP:Adding several users to a Process Role(at run time)from webdynpro coding

18 Views

I have a scenario , in which , on submission of data it should be forwarded to multiple approvers..( I'm doing webdynpro implementation of GP)

If any one of the approvers approves it , the task should be removed from all other assigned

approvers.

I have done like this.-

only one Seq Block is there with 2 actions

I have 2 actions

1. <b>Submission</b>- Output ia structure, in that one field is approver.

on submission (in coding) I 've added multiple users to this structure.

and added these users as runtime users.

2. <b>Approval-</b>one input parameter is approver, and is given as processor

of this action through 'Fill by Context parameter'.

So at runtime , on submission it is going to all selected approver's task list.

<b>But only for one user the the view is available to approve or reject.</b>

For all others , even though it is available in work item list,

it is giving a message ' forwarded to other user',. So they can't approve/reject.

What mistake I have made?

Can anybody help me..

thanks

Smitha