Adding a parameter to your draft

The values of properties in the flow, including sensitive properties, can be parameterized. Learn how to add a parameter to your draft.

  • Make sure that you have DFDeveloper permission to perform this task. For information on account and resource roles, see Cloudera DataFlow authorization.
  • You have created a draft in Cloudera DataFlow Flow Designer.

Adding a parameter from Flow Options

Learn about creating parameters from the Flow Options menu.

  1. Click Flow Options > Parameters > Add Parameter Add Parameter or Add Sensitive Parameter.
  2. Provide the parameter Name, define a Value (or select Set empty string) and optionally provide a parameter Description.
  3. When you are done, click Apply.
  4. For your parameter changes to take effect, click Apply Changes.
Click Back to Flow Designer to return to the canvas when you are done adding parameters.

Creating a parameter from the Configuration pane

Learn about converting a property of a component into a parameter from the Configuration pane.

  1. Select the component with the Property that you want to convert to a parameter.
    Click the component on the Canvas to access its properties in the Configuration pane.
  2. Locate the property that you want to turn into a parameter and click Options > More > Convert To Parameter.
  3. Edit the parameter Name, Value, and optionally add a description.
  4. Click Add.
    The Value of the Property is automatically updated to a reference to the newly created parameter.
  5. Click Apply to save the change you made to your component.