Class ReadyForTranslation

Workflow for ready for translation of page. This workflow will create a task with a translation request for each specified language. If a main translator is specified tasks will be created for that user for each not specified (but enabled on site) language. After the final time specified the workflow will notify owner of which pages that was translated before it completes.

Inheritance
System.Object
ReadyForTranslation
Namespace: EPiServer.WorkflowFoundation.Workflows
Assembly: EPiServer.WorkflowFoundation.dll
Version: 8.11.0
Syntax
[WorkflowPlugIn]
public sealed class ReadyForTranslation : SequentialWorkflowActivity
Remarks

The workflow specifies the WorkflowPlugIn attribute to specify the usercontrol used to set start parameters.

Constructors

ReadyForTranslation()

Declaration
public ReadyForTranslation()

Fields

MainTranslatorProperty

Declaration
public static DependencyProperty MainTranslatorProperty
Field Value
Type Description
System.Workflow.ComponentModel.DependencyProperty

OwnerProperty

Declaration
public static DependencyProperty OwnerProperty
Field Value
Type Description
System.Workflow.ComponentModel.DependencyProperty

PageArgsProperty

Declaration
public static DependencyProperty PageArgsProperty
Field Value
Type Description
System.Workflow.ComponentModel.DependencyProperty

TranslatorsProperty

Declaration
public static DependencyProperty TranslatorsProperty
Field Value
Type Description
System.Workflow.ComponentModel.DependencyProperty

Properties

Final

When the workflow should complete

Declaration
public TimeSpan Final { get; set; }
Property Value
Type Description
System.TimeSpan
Remarks

set as startparameter when instance is created

InitialDelay

The initial delay before translation request tasks is created

Declaration
public TimeSpan InitialDelay { get; set; }
Property Value
Type Description
System.TimeSpan
Remarks

set as startparameter when instance is created

InitialLanguage

The language of the version of the page that initially started the workflow

Declaration
public string InitialLanguage { get; }
Property Value
Type Description
System.String

MainTranslator

The fallback translator for site enabled languages that is not explictly assigned

Declaration
public string MainTranslator { get; set; }
Property Value
Type Description
System.String
Remarks

set as startparameter when instance is created

Owner

The owner of the translation process

Declaration
public string Owner { get; set; }
Property Value
Type Description
System.String
Remarks

set as startparameter when instance is created

PageArgs

Sets PageArgs as start parameters so we can get the page for automatically created workflows

Declaration
public WorkflowPageEventArgs PageArgs { get; set; }
Property Value
Type Description
WorkflowPageEventArgs
Remarks

set as startparameter when instance is created

PageName

The name of the page that is translated

Declaration
public string PageName { get; }
Property Value
Type Description
System.String

PublishNeeded

Indicates if page needs to be published to fullfil task

Declaration
public bool PublishNeeded { get; set; }
Property Value
Type Description
System.Boolean
Remarks

set as startparameter when instance is created

Reminder

When a reminder should be sent fore none fulfilled translation tasks

Declaration
public TimeSpan Reminder { get; set; }
Property Value
Type Description
System.TimeSpan
Remarks

set as startparameter when instance is created

Translators

The specified translators

Declaration
public List<TranslationItem> Translators { get; set; }
Property Value
Type Description
System.Collections.Generic.List<TranslationItem>
Remarks

set as startparameter when instance is created