Hi Nandika,

I am running recently built IS pack workflow features. I came up with
following scenario which is confusing.

I have two workflows which use same BPS.
Workflow1 need to be approved by 'admin' role and Workflow2 need to be
approved by 'role1' role.
Then I have a user 'user1' in my userstore who has both 'admin' and 'role1'
roles.

Then I have configured two associations for addUser operation, where
association1 get assigned to workflow1 and association2 get assigned to
workflow2.

Then when I add a new user to user store, 2 workflows get triggered, but
when I check the human tasks associated with them by calling
'HumanTaskClientAPIAdmin', what I observe is even though there are two
human tasks created, one task is in 'RESERVED' state while other task is in
'READY' state. This only happens when I add a user who has both 'admin' and
'role1' roles. If there are no user with both roles, both tasks goes to the
'RESERVED' state which is the expected behavior.

What is the reason for this?

Thank You!

-- 
*Chamila Dilshan Wijayarathna,*
Software Engineer
Mobile:(+94)788193620
WSO2 Inc., http://wso2.com/
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to