Hi all,

We are in the process of implementing the workflow support for ES and came
across the $Subject.
Although many products have worflow support, seems there is no generic
component to achieve this.

The workflow executor for APIM [1] cannot be used platform wide since they
pass the ApiMgtDAO to execute method in their executor.

Similar issue is there with the IS workflow executor where they preserve
the workflow information in the identity database [2] (refer
addWorkflowEntry method)

IMO other products should be able to use their own workflow info
preservation mechanism.
Ex: To store in the registry
       To store in a database
Say in ES, we want to provide workflow support for asset creation. Storing
asset level info in Identity database doesn't make sense.

Appreciate your feedback.

[1]
https://github.com/wso2/carbon-apimgt/blob/master/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/workflow/WorkflowExecutor.java
[2]
https://github.com/pulasthi7/carbon-identity/blob/feature/workflow-support/components/workflows/org.wso2.carbon.workflow.mgt/src/main/java/org/wso2/carbon/workflow/mgt/dao/WorkflowRequestDAO.java

Thanks,
Tanya

-- 
Tanya Madurapperuma

Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94718184439
Blog : http://tanyamadurapperuma.blogspot.com
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to