Escc.Umbraco.Forms.Workflows 4.0.0

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Escc.Umbraco.Forms.Workflows --version 4.0.0                
NuGet\Install-Package Escc.Umbraco.Forms.Workflows -Version 4.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Escc.Umbraco.Forms.Workflows" Version="4.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Escc.Umbraco.Forms.Workflows --version 4.0.0                
#r "nuget: Escc.Umbraco.Forms.Workflows, 4.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Escc.Umbraco.Forms.Workflows as a Cake Addin
#addin nuget:?package=Escc.Umbraco.Forms.Workflows&version=4.0.0

// Install Escc.Umbraco.Forms.Workflows as a Cake Tool
#tool nuget:?package=Escc.Umbraco.Forms.Workflows&version=4.0.0                

Escc.Umbraco.Forms.Workflows

Implementing a more secure email workflow

The email workflows that come with Umbraco Forms are designed to send the form data as part of the email. However, the data may be sensitive and email is not a secure medium, so it is better to send a link to the form in the back office where the data is protected by TLS and authentication.

The 'Send email with template (Razor)' workflow allows you to customise the email that is sent, so to enable this:

  • Create a custom email template in ~\Views\Partials\Forms\Emails which includes the following code:

      @{ 
      var siteDomain = HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority);
      <p><a href="@siteDomain/umbraco/#/forms/FormEntries/edit/@Model.FormId?entry=@Model.EntryUniqueId">View the new form entry</a></p>
      }
    
  • Add a workflow using the 'Send email with template (Razor)' workflow and pick the custom template that you created.

Unfortunately Umbraco Forms doesn't support a native URL to view a single form entry. To add that support install Escc.Umbraco.Forms.BackOffice which adds the modified entries viewer linked to in the code above.

Implementing a retention schedule

Every form that collects personal data must have a retention schedule, and ideally this should be automated to ensure that it is not forgotten. For retention schedules that are simply a set time after the form is submitted, this is implemented by RetentionAfterSetDateWorkflow.

  • Add a field called 'Delete after' to a form using the 'Hidden' answer type, ensuring it has the alias deleteAfter.
  • Add a workflow using the 'Retention schedule: after a set date' workflow, and set the time period to keep records for.
  • When a form is submitted and the workflow runs, a date is added to the deleteAfter field.
  • Run Escc.Umbraco.Forms.Workflows.ApplyRetentionSchedule.exe regularly as a scheduled task. It will look for the deleteAfter field on all form records, and delete any where it finds a date that has passed.
Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated

4.0.0 targets Umbraco Forms 7.1.1, removing the SaveIdAsFieldWorkflow which is no longer required