Skip to main content Skip to complementary content

How to create a rule to migrate generated tasks

About this task

In Talend Repository Manager, the Rules page helps you to select specific generated tasks (job zip files), the tasks that has been generated in Job Conductor, and migrate them from one administration center to another.

After migrating these tasks to the target repository, you can execute the jobs directly without regenerating them.

You can migrate generated tasks between repositories only if their version is 5.2.1+.

Procedure

  1. In the Menu tree view, click Rules.
  2. On the Rules toolbar, click Add > Generated Job.
    The configuration panel to the right of the rule list is activated.

    Example

  3. In the configuration panel, fill in the following information.
    For the global parameters:

    Label

    Enter a name for the rule to be created.

    Description

    Enter some text to describe the rule you want to create.

    Active

    Clear the check box to disable the execution of the rule. By default the check box is selected, meaning that the rule execution is enabled.

    For the source repository parameters:

    Source

    Select the source repository where the tasks are migrated from.

    From this list you have access only to the repositories that are defined as Source only or as Source & Target when created in Talend Repository Manager. For more information about how to define a repository connection, see Managing the repository connection list.

    Filter

    Set a filter to decide what tasks of a project you want to migrate. Click the icon next to the field to open the Filter Configuration window.

    For more information on how to configure the filters, see Configuring filters in rules.

    Projects

    Select the projects containing the tasks to be migrated across repositories. The default value in this field is All. Click the icon to open the Project Selection dialog box. For more information, see Adding projects to rules

    Information noteNote: Project tags are available in the Project Selection dialog box when the version of Talend Administration Center with which Talend Repository Manager communicates is 5.2.1 and above.
    For the parameters relative to the target repository or the destination directory:

    Target repository

    Select the target repository where you want to migrate the tasks.

    From this list you have access only to the repositories that are defined as Target only or as Source & Target when created in Talend Repository Manager. For more information about how to define a repository connection, see Managing the repository connection list.

    Target Execution server

    Select the target execution server to run the migrated tasks.

    Leave this field empty if the target execution server has the same name as the source.

    Note that the fields in the configuration panel may change depending on which version of Talend Administration Center you are using. For more information on supported versions, see Installation requirements.
  4. Save the migration rule.
    The rule is ready now to be executed. For information about executing migration rules, see How to execute a rule from the toolbar.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!