Skip to content

Module for Orchard Core provides useful Workflow tasks and events.

License

Notifications You must be signed in to change notification settings

EtchUK/Etch.OrchardCore.Workflows

Repository files navigation

Etch.OrchardCore.Workflows

Module for Orchard Core provides useful Workflow tasks and events.

Build Status

NuGet

Orchard Core Reference

This module is referencing a stable build of Orchard Core (1.8.3).

Installing

This module is available on NuGet. Add a reference to your Orchard Core web project via the NuGet package manager. Search for "Etch.OrchardCore.Workflows", ensuring include prereleases is checked.

Alternatively you can download the source or clone the repository to your local machine. Add the project to your solution that contains an Orchard Core project and add a reference to Etch.OrchardCore.Workflows.

Features

This module provides a set features which operate independantly of each other.

Export Workflows

Adds "Export Workflows" option in the admin menu for users with the Export workflow data permission.

The "Export Workflows" page displays a list of workflows similar to what is seen when accessing the main "Workflows" route, selecting "Export" on one of these will take the user to a "Preview" page showing them how many instances the chosen workflow has and a preview of the Outputs the latest one has.

Clicking 'Download export' will then return a CSV with columns for any Output ever specified in any Instance of this Workflow Type.

Validation

This feature adds useful validation tasks for Workflows.

Validate Matching Fields

Allows the user to specify multiple field names which will all be validated for having matching content. The task provides Valid and Invalid outcomes as well as Done and will update the ModelState in the same way as the stock Orchard Core validate tasks.

Validate Multiple Fields

Allows the user to specify multiple field names which will all be validated for not having empty content. The task provides Valid and Invalid outcomes as well as Done and will update the ModelState in the same way as the stock Orchard Core validate tasks.

Validate Required When Checked

Validates that multiple fields have a value when a defined checkbox field has been checked. The task provides Valid and Invalid outcomes as well as Done and will update the ModelState in the same way as the stock Orchard Core validate tasks.

Form Output

Provides a task Set Form Outputs which will send all entries from the form to the Output of the workflow with the same names as their form inputs.

The following options are available:

Prefix

Prepend the entered string to the output keys.

Ignored

Allows the user to specify fields which should not be added to the Output. e.g.: form validation token.

Template Email

Send an email using a pre-defined template for the layout of the email. Content editors can focus on the body of the email instead of having to move around large chunks of HTML. To get this to work, the template must use {{ Body }} to signify where the body content should be inserted within the template.

About

Module for Orchard Core provides useful Workflow tasks and events.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •