Hi Poshitha, Please find my comments inline.
On Wed, Nov 26, 2014 at 2:07 PM, Poshitha Dabare <[email protected]> wrote: > Hi > > I am trying to create a workflow implementation for the SS, RSS > environment. When a RSS admin > service function is called by external SOAP request, it first create a > workflow in database with the information passed and send message to BPS to > create human task. Once the task in appreoved the same data can be used to > proceed the action later time. > > Since differect admin sevice for task use differect data structures for > parameters we will have to have a different table in database for each > admin service. > > To have a generic approach how can i get the data that was pass to the > admin services parameter object and save them in a single table. > > IMO, it's always better if we can manage to implement this feature without introducing new tables to the component as it will make workflow implementation more generic. But you will needs to change the flow of rss operations to support it. To make it generic to support workflows underline database operations API for each database type also needed to be changed. Currently as a example, add database operation will first make a entry to meta repository and then create the actual database creation in specified rss instance. So if we going to use single table, first we needs to make entry to the database table. So underline add database operation will need to adjust to support both workflow enable mode and disable mode. This approach will be clean but it subject to many changes in underline implementation. Having separate workflow table will be a less complex approach to do this without touching underline database operations APIs. > Is there any way to do it in the method body (admin services) pro > grammatically retrieve datastructures data no matter what the data > structure type is > > I'm not clear what you going to approach by using this? > Thanks > -- > Poshitha Dabare > Software Engineer > > Mob: 075 536 8005 > -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
