title: Implementing Workflow engine in Java Spring Boot
body: <p>I have the below requirements where workflow is required: </p>
  
  <ol>
  <li>The product is a cloud based product where organizations will register and create roles for their team on the go.</li>
  <li>The teams will submit some entity like expenses, travel request etc for approval </li>
  <li>The approval flow will be configured by organization using organization roles (created by org) or system roles (owner, manager, admin) which are predefined by our application. </li>
  <li>There will be actions triggered on every approval that needs to be defined in our code. </li>
  </ol>
  
  <p>My confusion is whether to integrate a workflow engine for this or not - </p>
  
  <p>If yes, which workflow engine will support this flow. </p>
  
  <p>If not, should I go around and build a custom workflow engine and a UI as per my needs or there's a better solution?</p>