JDE Invoke Business Function Activity

Use the JDE Invoke Business Function activity to call a specific JDE business function from any of the three classifications: master, major, or minor. You can map the resulting output from the JDE instance to an orchestration.

Configuring this activity requires the following procedures:

Adding a JDE activity to an orchestration

  1. In an active orchestration, open the Activities tab and expand the JDE folder contents.
  2. Drag the Invoke Business Function activity onto the orchestration.
  3. When the activity is displayed in the orchestration, the Invoke Business Function Checklist is displayed below.

Changing the activity name

  1. In the Checklist, click Summary.
  2. Review the contents of the Activity Name field and make any required changes.

Picking a JDE Endpoint

  1. In the Checklist, click Pick Endpoint.
  2. Click Browse and use the Project Explorer dialog box to select the relevant JDE endpoint. More than one may be listed.
    Tip: You can create the required endpoint by clicking New. For more information, see Creating or Editing a JDE Endpoint
  3. When you click OK, the endpoint-specific configuration options are displayed in a read-only state.
    Note: If changes are required to the selected endpoint configuration, click Edit to activate the options. Any changes you make globally affects all uses of this endpoint in active orchestrations.

Configuring the Activity

  1. In the Checklist, click Configure.
  2. To the right of the Business Function Name field, click Browse.
  3. In Browse Business Function browse the explorer view of functions (in categories represented by folders).
  4. Select the preferred function and click Select.

    The Business Function Category, Business Module Code, and Business Function Code fields are automatically filled with function-specific values.

  5. In the Checklist, click Retry.
  6. Review the default settings and make any required changes. For more information, see Specifying Retry parameters for JDE activities

Mapping the input

Inputs represent data that is transmitted from the orchestration (variables) to the JDE endpoint (parameters).
Tip: If required, you can create a custom mapping variable in Source or Destination column by completing the steps in Creating variables.
  1. In the Checklist, click Map Inputs. A set of options is displayed to the right, and the function-specific variables are displayed in the To Activity list.
  2. Click Select Inputs. Select Inputs window lists all of the variables associated with the endpoint.
  3. Choose a variable, then click OK.
    Note: A single variable can contain one or more parameters.
  4. To link the activities, click and drag a variable/parameter from the From Orchestration list onto a variable/parameter listed in the To Activity list. If the link is viable, a line links the two.
  5. Repeat this procedure to link other orchestration variables/parameters to JDE variables/parameters.
  6. To test the input links, click Test.

    The Input Test Files table lists all linked variables/parameters.

  7. In the Location column, click the small blue button.
  8. Use Browse to select an input test file.
  9. Click Run Test.

    The test results are displayed.

Tip: You can replace a variable (and its parameters) without changing the links of the map. For more information, see Replacing a Variable used in a Map.

Mapping the outputs

Note: Outputs represent data that is transmitted from the JDE endpoint (parameters) to the orchestration (variables).
  1. In the Checklist, click Map Outputs.
    Tip: If required, you can create a custom mapping variable in Source or Destination column by completing the steps in "Creating Variables".
  2. Review the variables/parameters listed in the From Activity list.
  3. If you want to create new orchestration variables that match the output variables of the current activity, select a parameter and click Copy.
  4. In Copy Parameters choose one or more parameters, and click OK to add them to the To Orchestration list. The data type, schema, or schema fragment of the selected output parameter is applied to the new variable.
  5. Click Select Inputs.

    The Select Inputs window lists available variables associated with the orchestration.

  6. Choose one or more variables, and click OK to add them to this list.
    Note: A single activity can contain one or more parameters.
  7. Drag a variable or parameter from the From Activity list onto a variable/parameter listed in the To Orchestration list.

    If the link is viable, a line links the two.

  8. Repeat this procedure to link other variables/parameters.
  9. To test the output links, click Test.

    A variable is listed in an Input Test Files table.

  10. In the Location column, click the small blue button.
  11. Use Browse to select an input test file.
  12. Click Run Test.

    The test results are displayed in the columns below.