Create an email subflow according to your requirements. You can then select this subflow to define translation preferences for a language.

Before you begin

Roles required: localization_admin and flow_designer

About this task

The Localization Framework provides a default email subflow that you can customize.

Copy the existing email subflow configured for the Localization Framework and then customize it. Publish the customized subflow so that it is available for selection when setting up the translation preference for a language. For more information, see Create a subflow.

Procedure

  1. Navigate to All > Process Automation > Flow Designer.
  2. In the Workflow Studio window, click Subflows.
  3. Click Send LF Email for Translation subflow.
    The Send LF Email for Translation subflow opens in the Workflow Studio in read-only format. The inputs in this subflow are described in the following table:
    Table 1. Send LF Email for Translation input parameters
    Name Description Type
    lftask_record Associated Localization Framework task record. Reference.Localization Task [sn_lf_insight]
    attachment_record Contains a file related to the LFTASK that can be sent via Email for translation. Reference.Attachment
    send_to Contains email addresses of the recipients to send the LF task file. String
    source_language Language from which the localization task was created. String
    target_language Language into which the content of the localization task gets translated into. String
  4. In the subflow header, click the more actions icon More actions and select Copy subflow.
  5. In the New subflow name field, enter the name of the new subflow.
  6. To limit the application scope of the subflow, in the Application field, select the required application, otherwise select Global.
  7. Click Copy.
    The new subflow is created and opens in the subflow designer editor. The inputs from the copied subflow appear.
    Note: Inputs are fixed and cannot be edited.
  8. In the Actions section, click Send Email.
    This expands the Send Email section. The fields in the Send Email section are described below:
    Table 2. Send Email fields
    Field name Description
    Action Name of the action.

    Default: Send Email.

    Target Record Associated Localization Framework task record
    Table Name of the table where the localization task resides.
    Include Watermark Adds a watermark in the file associated with the localization task.
    To Contains email addresses of the recipients who should be addressed directly.
    CC Contains email addresses of the recipients who should see the list of recipients directly addressed in the email.
    BCC Contains email addresses of the recipients who are copied on the email but not displayed in the email.
    Subject The text about the email that its recipients can see.
    Body The text message about the localization task being sent for translation.
  9. Click Done, when you have modified the fields as per your requirement.
  10. Click Copy Attachment.
    The Copy Attachment action expands. The fields in the Copy Attachment section are described below:
    Table 3. Copy Attachment fields
    Field name Description
    Action Name of the action.

    Copy Attachment is displayed by default.

    Source Attachment Record [Attachment] Translatable content file of the localization task.
    Target Record Represents the target record in the email.
    Table Represents the email table.
  11. Click Save, to save the subflow in draft status.
  12. Click Publish.

Result

Use the published subflow to define the translation preference for a language.