Hi Shavantha, In human tasks , there are three ways of defining People assignments. They are logical people groups , literals and expressions. If you want dynamic user , role assignment, the human task definition should use expressions for people assignments so that use can send the user , role information in the task initiation request itself.
Regards Nandika On Tue, Jun 21, 2016 at 11:43 AM, Nuwan Dias <[email protected]> wrote: > This actually is the design of Human Tasks in BPS itself. Its not specific > to API Manager workflows. It's the same method you would have to follow > when you develop any other business process on BPS. > > Thanks, > NuwanD. > > On Tue, Jun 21, 2016 at 7:09 AM, Shavantha Weerasinghe <[email protected] > > wrote: > >> Hi All >> >> >> When API manager is integrated with business process server for work >> flows and if we use a user role other than admin then the .ht files within >> humantasks need to be manually updated to tally the new user role. Is there >> anyway we can parameterize this so that the role give on user-mgt,xml can >> be read from the ApplicationsApprovalTask.ht >> >> >> >> >> <htd:logicalPeopleGroups> >> <htd:logicalPeopleGroup name="admin"> >> <htd:documentation xml:lang="en-US"> >> The group of admins responsible for the user approval >> task. >> </htd:documentation> >> <htd:parameter name="role" type="xsd:string"/> >> </htd:logicalPeopleGroup> >> </htd:logicalPeopleGroups> >> >> >> >> <htd:peopleAssignments> >> <htd:potentialOwners> >> <htd:from logicalPeopleGroup="admin"> >> <htd:argument name="role"> >> admin >> </htd:argument> >> </htd:from> >> </htd:potentialOwners> >> <htd:businessAdministrators> >> <htd:from logicalPeopleGroup="admin"> >> <htd:argument name="role"> >> admin >> </htd:argument> >> </htd:from> >> </htd:businessAdministrators> >> </htd:peopleAssignments> >> >> regards, >> >> Shavantha Weerasinghe >> Senior Software Engineer QA >> WSO2, Inc. >> lean.enterprise.middleware. >> http://wso2.com >> http://wso2.org >> Tel : 94 11 214 5345 >> Fax :94 11 2145300 >> >> > > > -- > Nuwan Dias > > Technical Lead - WSO2, Inc. http://wso2.com > email : [email protected] > Phone : +94 777 775 729 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Nandika Jayawardana WSO2 Inc ; http://wso2.com lean.enterprise.middleware
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
