Create a custom email subflow
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
Navigate to All > Process Automation > Flow Designer.
In the Workflow Studio window, click Subflows.
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:
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 In the subflow header, click the more actions icon
More actions and select **Copy subflow.**
In the New subflow name field, enter the name of the new subflow.
To limit the application scope of the subflow, in the Application field, select the required application, otherwise select Global.
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.
In the Actions section, click Send Email.
This expands the Send Email section. The fields in the Send Email section are described below:
| 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. |
Click Done, when you have modified the fields as per your requirement.
Click Copy Attachment.
The Copy Attachment action expands. The fields in the Copy Attachment section are described below:
| 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. |
Click Save, to save the subflow in draft status.
Click Publish.
Result
Use the published subflow to define the translation preference for a language.
Parent Topic:Localization Framework settings