Hi Harsha, Methods such as listBPSProfiles() and getBPSProfile() can be reused when we write a custom workflow implementation extending AbstractWorkflow. Otherwise, we have to write those functionalities again in the custom implementation.
Thanks, Thanuja On Mon, Nov 13, 2017 at 8:28 PM, Harsha Thirimanna <hars...@wso2.com> wrote: > Hi Thanjua, > > IS workflow implementation is bit different. > > There is a core framework part with the framework repo itself and this [3] > repo contain WSO2 BPS server specific implementation for workflow. It is > very tightly coupled with that. > > If some one want to write custom one, then they can write a component and > have to implement AbstractWorkflow and other related deployers, services. > That may be rely on either another task server or may be sync/async JVM > process. > > So yes theoretically I am also +1 to have a OSGi service to above service, > but i can't see any usage of that. > > [3] > > https://github.com/wso2-extensions/identity-workflow-impl-bps > <https://github.com/wso2-extensions/identity-workflow-impl-bps/blob/master/components/org.wso2.carbon.identity.workflow.impl/src/main/java/org/wso2/carbon/identity/workflow/impl/WorkflowImplService.java> > > On Mon, Nov 13, 2017 at 6:50 PM, Thanuja Jayasinghe <than...@wso2.com> > wrote: > >> Hi All, >> >> Is it possible to register WorkflowImplService[1] as OSGi service? It >> will be really useful when we write custom workflow templates. >> >> [1] - >> >> https://github.com/wso2-extensions/identity-workflow-impl-b >> ps/blob/master/components/org.wso2.carbon.identity.workflow. >> impl/src/main/java/org/wso2/carbon/identity/workflow/impl/ >> WorkflowImplService.java >> [2] - https://github.com/wso2-extensions/identity-workflow-impl- >> bps/blob/master/components/org.wso2.carbon.identity.workflow >> .impl/src/main/java/org/wso2/carbon/identity/workflow/impl/ >> internal/WorkflowImplServiceComponent.java#L96 >> >> Thanks, >> Thanuja >> -- >> *Thanuja Lakmal* >> Associate Technical Lead >> WSO2 Inc. http://wso2.com/ >> *lean.enterprise.middleware* >> Mobile: +94715979891 >> > > -- *Thanuja Lakmal* Associate Technical Lead WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94715979891
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev