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 <shavan...@wso2.com> 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 : nuw...@wso2.com Phone : +94 777 775 729
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev