OrchardCore icon indicating copy to clipboard operation
OrchardCore copied to clipboard

On workflow module optimisation

Open hyzx86 opened this issue 1 month ago • 14 comments

Is your feature request related to a problem? Please describe.

To date, we have collected a number of questions and suggestions for the workflow module Below I've summarised and collated these encounters, and we've tried to consolidate them into one PR as much as possible, as separating them into different PRs may require multiple changes to the multi-table structure, and may also require the introduction of many destructive updates

Workflow support for versioning, including audit information

  • Upgrade workflows diagramming library to a modern digramming ui library #16067
  • Implement workflow versioning and keep the existing instance upon import #15496
  • Workflows need audit trail support #11608

Other enhancements

Workflow Type

  • Add title templates to the workflow, like TitlePart does
  • Add a Description field to a workflow type,can save text that describes the process.
  • Add a DisplayName field for a short description to distinguish it from the technical name.

Workflow Instance

  • Add workflow instance title editor for workflow types
  • Adding display names to workflow types
  • Add ExecutedOnUtc field to workflow instances, which can be used for sorting
  • Adding audit information to workflow types, CreatedUtc,ModifiedUtc,ModifiedBy,CreatedBy

If there are any other suggestions, please add them.

Describe the solution you'd like

I am currently trying to implement these changes in PR https://github.com/OrchardCMS/OrchardCore/pull/16043

hyzx86 avatar May 20 '24 06:05 hyzx86