Using the JDE Invoke Business Function activity

Use the JDE Invoke Business Function activity to call a specific JDE business function. You can map the resulting output from this activity to an orchestration.

Before you begin

Ensure that you have:

About this task

Use this task to call a specific JDE business function from the JDE server. The call to this activity is a synchronous call where the input data is sent to the activity for processing and the response is sent back to the orchestration.

Procedure

  1. In an active orchestration, open the Activities tab and expand the JDE folder.
  2. Drag the Invoke Business Function activity icon onto the orchestration. The JDE Invoke Business Function Checklist is displayed.
  3. In the Checklist, click Summary.
  4. Review the contents of the Activity Name field, and make the required changes.
  5. In the Checklist, click Pick Endpoint.
  6. Click Browse and use the Project Explorer dialog box to select the relevant JDE endpoint.
  7. Optional: You can create the endpoint by clicking New and specifying the required connection details. Click OK to save and use the endpoint for this configuration.
  8. To make required changes to the selected endpoint configuration, click Edit to access the options in a separate window. Any changes you make globally affects all uses of the endpoint in active orchestrations.
  9. In the Checklist, click Configure.
  10. In the JDE Business Function panel, click Browse to browse for business function names.
  11. In Browse JDE Business Functions dialog, select one or more business functions from the Business Function List, and add it to the Selected Business Functions pane.
  12. The Business Function Container field gets populated based on the first business function selected and click OK. You can also type the desired business function container name.

    The selected business functions are displayed in the Configure panel.

  13. In the Checklist, click Retry. Review the default settings and make the required changes. For more information, see Specifying Retry and Delivery Options for JDE Activities.
  14. Select the Map Inputs in the Checklist. The XML Schemas generated from the selected object of the Invoke Business Function activity are displayed as nodes under the request input parameter in the To Activity panel.
  15. Create a map between the orchestration variables and the input parameter of the activity.
    Note: Values must be provided at run time for any mandatory elements of the input structure. A value can be provided by specifying a default value for element or by linking the element with an input node. During run time if no value is provided for a mandatory element, the activity throws an exception, which is reported by the Web Management Console (WMC). If a value is not provided at run time for an optional input parameter, no exception is thrown during run time.
  16. Select the Map Outputs in the Checklist. The XML Schema generated to hold the response of the activity is displayed as nodes under the response output parameter in the From Activity panel.
  17. Create a map between the output parameters and orchestration variables.

Results

You have configured the JDE Invoke Business Function activity.



Feedback | Notices


Timestamp icon Last updated: Thursday, December 17, 2015


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.doc/JDEnew_Invoke_BusinessFunction_activity.html