4 Activate and Run the Recipe

After you've configured the connections, you can activate and run the recipe.

  1. In the project workspace, click Activate. In the Activate project panel, with the default project deployment selected, choose an appropriate tracing option, then click Activate.

    A message confirms that the integration has been activated. Refresh the page to view the updated status of the integration.

  2. Update property values for integration flow. You can update the integration properties only after activating this flow.
    Integration Property Description
    SetId Specify the SetID of the organization. SetIDs enable you to share a set of reference data across organizations. For example, 300000000002169.
    Party_Usage_Code Specify the party usage code that illustrates the usage of parties across applications in business flows. For example, EXTERNAL_LEGAL_ENTITY.
    Created_By_Module Specify the module code. For example, HZ_WS.

    For the procedure to update the integration properties, see Steps 7 and 8 in Override Design-Time Properties in an Integration.

  3. Run the recipe from an external application.
    1. In the Integrations section of the project workspace, click Actions Actions icon on the integration flow, then select Run.
    2. On the Configure and run page, click Endpoint metadata.
    3. In the panel that opens, copy the Endpoint URL value. This is the integration flow's endpoint URL.
    4. From the external application, send a POST request to this endpoint URL along with the customer data. Provide the customer data in the POST request's Body field. See the following step for sample customer data.
    The integration creates the customer record in Oracle ERP Cloud and returns the internal ID of the newly-created record as a response.
  4. Test the recipe in Oracle Integration.
    1. In the Integrations section of the project workspace, click Actions Actions icon on the integration flow, then select Run.
    2. On the Configure and run page, in the Request section, click Body and enter sample customer data. For example:
      {  
                  "sourceSystem": "VBApp",  
                  "sourceSystemCustomerID": "Acme Corporation",  
                  "customerName": "Acme Consulting",  
                  "customerEmail": "contact@acmecorp.com",  
                  "customerPhone": "042400000",  
                  "customerAccountName": "SampleAccountName",  
                  "customerAddress": [  
              {   
                  "AddressLine": "addr1",   
                  "City": "Sydney",   
                  "Postcode": "2102",   
                  "State": "NSW",   
                  "Country": "AU",   
                  "Type": "BillTo"  
              },  
              {   
                  "AddressLine": "addr2",   
                  "City": "Sydney",   
                  "Postcode": "2102",   
                  "State": "NSW",   
                  "Country": "AU",   
                  "Type": "ShipTo"  
              } 
              ], 
                  "customerProfile": {   
                  "customerProfileType": "DEFAULT",   
                  "CreditChecking": "Y",   
                  "CreditHold": "N",   
                  "DiscountTerms": "N",   
                  "EffectiveEndDate": "",   
                  "EffectiveStartDate": "",   
                  "AutoReceiptsIncludeDisputedItems": "",   
                  "ConsolidatedInvoice": "",   
                  "CreditLimit": "1000",   
                  "CreditCurrencyCode": "USD",   
                  "CollectorName": "James"
              }
          }
    3. Click Run
      The integration now creates the customer record in Oracle ERP Cloud. The Activity Stream pane appears displaying the status of the integration instance's execution.
    4. In the Response section of the test page, under the Body tab, you'll find the internal ID of the newly-created customer record in Oracle ERP Cloud.
  5. Log in to your Oracle ERP Cloud instance as an Administrator and check for the new customer record.
    Navigate to Billing Work Area, select Manage Customers, and search for the specific customer record.