Implementing Simple / Complex Approval Workflow for an Existing Application (ASP.NET MVC, AngularJS, SQL Server Architecture) with ELSA (.NET 5.0) #1002
-
Hello. We already have an existing application (an ERP System) which is on ASP.NET MVC (back-end), AngularJS (front-end) and SQL Server (database). We have several simple as well as complex Approval Flows which were done in SQL Server Stored Procedures and doing a great job in the Production for the last 3-4 years. As an improvement and maintainability measure, now we are planning to implement the ELSA Workflow as a standalone application (.NET 5.0 and MongoDB for Persistence Storage) and we want our ERP System to communicate with the ELSA Application when a user Sends any record for Approval or any Approver Approves/Rejects any request in our ERP System. Here's a descriptive example.
I have gone through the Documentation, and have some idea about configuring the ELSA Workflows, but when it comes to implementing it in our architecture it feels bit challenging and not sure how to proceed with the development. Any assistance or any reference matching our architecture (need not to be exactly the same as ours) would really help to at least refer and start with the development and build on top of it. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Although I don't have a reference application or example project available yet, your use case scenario seems to be a classical one. A customer is implementing a very similar architecture. Here's what they are doing:
Depending on your specific needs, the most simple approach might be to use Signal Received activities that represent approvals from your ERP. The communication would go a little bit like this:
You can see how this can go on and on. And since you are using Elsa, it will be easy to use control flow activities such as If/Else, Switch and Fork/Join activities, send emails, wait for timer events, and of course easily extend it with custom activities to better model your domain. I hope this helps. If you have more questions, I would love to hear them. |
Beta Was this translation helpful? Give feedback.
Although I don't have a reference application or example project available yet, your use case scenario seems to be a classical one. A customer is implementing a very similar architecture. Here's what they are doing:
Depending on your specific needs, the most simple approach might be to use Signal Received activities that represent approvals from your ERP.
The communication would go a little bit like this: