Contact Free trial Login
+
+

Anypoint Exchange

Home to the complete listing of connectors, templates, examples and APIs.
Discover and use proven assets built by the MuleSoft ecosystem, or add assets to a private
tenant of Anypoint Exchange for collaboration and sharing of internal best practices.

Adding a new customer to Workday Revenue Management

Adding a new customer to Workday Revenue Management

(0 reviews)

Learn how to add a customer to the Workday Financial Module.


Screenshot of the main flow in Anypoint Studio, view full image here

Description

The Workday Anypoint Connector facilitates connections between Mule integration applications and Workday by making API calls to the Workday Web Services. This example shows you how to use this connector in an integration application where a customer has to be added to the Workday Revenue Management Console.

Example Use Case

The application accepts an XML code which containing the required customer information (customer name, status and category). It parses this xml using the Datamapper component and creates a new customer record in a Workday instance.

Set Up and Run the Example

  1. Open the Example project in Anypoint Studio from Anypoint Exchange. Do not run the application.
  2. In your application in Studio, click the Global Elements tab. Double-click the Workday Revenue Management global element to open its Global Element Properties panel. Change the contents of the user, password and endpoint fields to your account-specific values as follows:

     user                        <USER>@<DOMAIN>
     password                    <PASSWORD>
     endpoint                    <ENDPOINT_URL>

    Then click OK to save your changes.

  3. In the Package Explorer, right-click the adding-a-new-customer-to-workday-revenue-management project name, then select Run As > Mule Application. Studio runs the application on the embedded server.
  4. Make an HTTP POST request to http://localhost:9090/ with the request body as follows:

     <?xml version="1.0" encoding="UTF-8"?>
     <root>
         <Account>
             <CustomerName>John Doe</CustomerName>
             <BusinessEntityName>John Doe</BusinessEntityName>
             <Customer_Category_Reference_Type>Customer_Category_ID</Customer_Category_Reference_Type>
             <Customer_Category_Reference_Value>CUSTOMER_CATEGORY-5</Customer_Category_Reference_Value>
             <Customer_Status_Reference_Type>Business_Entity_Status_Value_ID</Customer_Status_Reference_Type>
             <Customer_Status_Reference_Value>ACTIVE</Customer_Status_Reference_Value>
         </Account>
     </root>

    To send this request, use a browser extension such as Advanced Rest Client (Google Chrome), or the curl command line utility.

  5. Login to your Workday account. Navigate to View Customer Report and enter John Doe in the search field. Verify that the customer was added.

Documentation

Read full documentation in GitHub

Examples to Try Next

If you understood this example
XML only SOAP Web Service - This application illustrates how you can use Mule to expose a SOAP Web Service.View
If you struggled with this example
Implementing a Choice Exception Strategy - Understand the concept of error handling in Mule using a choice exception strategy.View

Reviews

Download
Log into Anypoint Platform to download this asset

Overview

Type
Example
Organization
MuleSoft
Created by
MO
MuleSoft Organization
Published onJun 22, 2017

Versions

VersionRuntime version
2.1.34.1.1
2.1.24.1.1
1.4.03.x
1.3.53.7
Show more