Adding a plugin to an activity is one of two methods for using a plugin, the other being calling a plugin from a script. Plugins that are available to use with the specific activity will be listed within the activity configuration screen.
Initializing Global Variables
Many plugins require global variables to be initialized prior to executing the plugin. For information on determining whether these values are required, as well as how to set required or optional values, refer to Global Variable Initialization.
Applying a Plugin to an Activity
Certain plugins are available to act on configured activities. Plugins are added during activity configuration and can be added for many activity types (see various endpoint documentation under Connectors). If you cannot use plugins with a specific activity type, this option will not be present in the activity configuration UI, as is the case for database, NetSuite, and Salesforce endpoints.
During activity configuration, the option to apply a plugin is typically available on the last step of configuration. On the step where you review the file schema provided for the activity, the option to add certain plugins (if available) is displayed below the schema:
Click Add Plugin(s) to show a list of plugins on the agent that are available to place on the activity:
NOTE: In order for plugins to appear within Cloud Studio, they must be installed on the agent:
- Cloud Agents: If you are using the Cloud Agent Group, a range of Jitterbit-provided plugins will already be installed.
- Private Agents: If you are using a Private Agent Group, see Customizations > Plug-ins for instructions on adding plugins.
For a description of each Jitterbit-provided plugin, see Plugins Available in Jitterbit Harmony.
The plugins that are available depend on the specific activity type and whether the activity is used as a source or a target in the operation. The pipeline position of "pre" or "post" refers to whether the plugin is executed before the transformation ("pre") or after the transformation ("post").
To view details on each available plugin, hover over the column on the far right and click the plus icon to show more information:
- Details: Summary information about the plugin.
- Data Elements: Global variables used with the plugin, with documentation including whether each variable is required. Variables that are required must be set before running the plugin, as described in Global Variable Initialization.
- plugin.xml: Click to view the XML manifest file.
To hide the details once open, click the minus icon :
To select a plugin to apply to the activity, select the checkbox associated with the plugin you want to use.
When you select the checkbox, the plugin will be removed from the list and appear separately above this list, below the file schema:
If you want to add additional plugins, you can do so by repeating the method described above. The plugins appear in the Cloud Studio interface in the same order they will be executed.
ExecutionOrderattribute in the plugin XML. Those using Private Agents can set the order using custom plugins.
To remove a plugin, simply clear the checkbox.
After saving the activity and returning to the design canvas, a plugin icon will appear on the corner of the activity to which it is applied:
The presence of the plugin icon indicates there are one or more plugins attached to the activity.
Last updated: Jun 12, 2019
- No labels