AOT-Technologies / forms-flow-ai

formsflow.ai is an open source forms-workflow-analytics solution framework.
https://formsflow.ai/
329 stars 183 forks source link

APIs for saving process data as draft/published #2031

Closed auslin-aot closed 1 month ago

auslin-aot commented 2 months ago

Issue Tracking

JIRA: Issue Type: BUG/ FEATURE https://aottech.atlassian.net/browse/FWF-3242

Changes

image

image

image image image image

auslin-aot commented 2 months ago

I have some doubt here:

  1. why we are using formProcessMapper table relation
  2. if a process published the the status is published right after we are editing the process and save as draft so the process has already some tasks , so we need to list this workflow in published list or draft
  1. In our future development roadmap, we plan to introduce workflow designing with form design. This will be implemented in the same area where we currently associate existing workflows. As part of this feature, we will need to store the mapperId alongside the process data to establish this association.
  2. When a workflow is published, the process list is generated from the bpm. Only draft workflows are listed from the process table. However, in our low-code implementation, we maintain both draft and published workflows