cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning potential owner to BPM lane

pradeep_kumar5
Active Participant
0 Kudos

Hi,

We have a scenario where we are trying to assign potential owner to the lane for a second time to a BPM  it didn't worked as expected. For example Requester fill the form and submits the request, based on the values he filled it routed to Group A (Group A is having user User A). User A opened the task from UWL and rejected, it went back to requester to make changes, he amended the form and submits again( resubmitted) this time based on the values he filled, it should went to Group B (Group B having User B). Even though I am able to see the Group B in the BPM parameters of the task, the task is still assigned to User A. I have assigned potential owners to lane using expression getPrincipal(DO_bpmParams/va_GroupName). At first time it assigned as expected but for second time it didn't. Can someone help me to resolve the issue.

Thanks in advance,

Regards,

Pradeep

Accepted Solutions (1)

Accepted Solutions (1)

pradeep_kumar5
Active Participant
0 Kudos

Hi Jun,

I never read in any sap documentation that we can assign group to a lane only once, even I tried by creating new DO and assigned to the lane it didn't worked . I can't assign the group to the task because the same task we are using for different activities in different lanes . I assigned it to the activity and fortunately it worked . It seems there is a bug in SAP BPM itself, while assigning the different group second time to the same lane.

Regards,

Pradeep

junwu
Active Contributor
0 Kudos

that is what i mean, work on the activity.

don't be bothered by the bug, who is going to use lane to do that job?

junwu
Active Contributor
0 Kudos

think about when your expression will be called? probably only once when the pool is initialized. later even you changed the DO. that expression is not called again.

It's my guessing, i could be wrong.

Answers (2)

Answers (2)

pradeep_kumar5
Active Participant
0 Kudos

Thanks guys for your response.

Hi Jun - The lane is having highest priority and there are no other tasks in that lane so I directly assigned it to lane.

Hi Rohit - Its the same process context attribute that I am assigning to the lane first and second time, I can see the value changes in task context attributes as well. Let me try by creating a DO and assigning it directly to the BPM lane.

Regards,

Pradeep

junwu
Active Contributor
0 Kudos

meaningless thing, if it is not working, don't touch it. work on the task directly.

junwu
Active Contributor
0 Kudos

what's point of using lane? why not work on the task directly?

for lane, maybe the user assignment only resolved once, i am guessing...