---
author_name: Martin Plummer
author_profile: https://github.com/mhplum
keywords: tutorial
auto_validation: true
time: 20
tags: [ tutorial>beginner, software-product>sap-business-technology-platform, tutorial>license]
primary_tag: software-product>sap-build
parser: v2
slug: joulestudio-skill-action-create
canonical_url: https://developers.sap.com/tutorials/joulestudio-skill-action-create
---


# Create Action Projects
<!-- description --> Create action projects from live OData services.

## Prerequisites

- Access to an SAP BTP tenant configured for Joule and Joule Studio, classic edition. See [Set Up Joule Studio, classic edition](https://help.sap.com/docs/Joule_Studio/45f9d2b8914b4f0ba731570ff9a85313/04b323352fa645238211ce017f634d34.html) or the [Discovery Center mission](https://discovery-center.cloud.sap/missiondetail/4651/4940/).
- You have [configured the destinations to the OData services](joulestudio-skill-environment-setup)


## You will learn
  - to adjust actions to fit the needs of your Joule skill
  - to release and publish the actions so that they can be consumed in Joule Studio, classic edition.


## Intro
Actions are used in **SAP Build Process Automation** to connect processes with external systems, be it SAP or non-SAP systems, and to make GET, POST, PATCH and other calls. Actions created here can be consumed directly in a Joule skill created in **Joule Studio, classic edition**.

In this tutorial, you will create an action project for accessing business partner information from an OData service representing an SAP system. You will also create an action project for creating a badge request via an OData service representing a third-party system.

 


### Create action project for BusinessPartner service

1. Open **SAP Build Lobby**.

    > The lobby is a central page for creating, accessing, and managing your projects in SAP Build.

2. Under **Connectors**, choose **Actions**, then choose **Create**.

    ![Create an action project](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-create.png)


3. In the **Choose an API Source** popup, under **Live API**, choose **OData Destinations**.

    ![Choose an API source](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-choose-source.png)


4. In **Browse OData Destinations**, choose the **S4HANA_MOCK** tile.

    ![Choose S4HANA_MOCK](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-browse.png)

    ![Choose next](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-browse-mock.png)

5. Choose **Next**.

6. Enter a name and description, then choose **Create**.

    ![Enter a name and description](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-browse-name.png)

7. Select **`GET /A_BusinessPartner`** and **`GET /A_BusinessPartner('{BusinessPartner}')`**, and then choose **Add**.

    ![Select operations](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-mock-select.png)

8. Select the action **Retrieves business partner data by using business partner number**.

    ![Action input](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-mock-input.png)

9. Choose **Output**, then remove all the fields except **BusinessPartner**, **FirstName**, and **LastName**.

    ![Action output](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-mock-output.png)

10. Choose the **Test** tab and enter **`1003764`** as the value for **BusinessPartner**.

    ![Action test](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-mock-test.png)

11. Make sure the correct destination has been selected, then choose **Test**.

    ![Action test response](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-mock-response.png)

12. Choose **Save**.

13. In an similar manner, adjust the output of the action **Retrieves business partner general data**.

    ![Action output](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-mock-output-2.png)

14. Choose the **Test** tab, then choose **Test**.

15. Inspect the response and then choose **Save**.

    ![Action response](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-mock-response-2.png)

16. Choose **Release**, then in the popup choose **Release**.

    ![Action release](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-mock-release.png)

17. Choose **Publish**, and then in the popup choose **Publish**.

    ![Action publish](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-mock-publish.png)



### Create action project for Badge Service

1. Open **SAP Build Lobby**.

2. Under **Connectors**, choose **Actions**, then choose **Create**.

3. In the **Choose an API Source** popup, under **Live API**, choose **OData Destinations**.

4. In the **Browse OData Destinations** popup, choose the **Badge_Service** tile.

    ![Browse OData destinations](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-browse-badge.png)

5. Choose **Next**.

6. Enter a name and description, then choose **Create**.

    ![Enter a name and description](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-browse-name-2.png)

7. Select the five actions shown below, then choose **Add**.

    ![Select operations](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-badge-select.png)



8. Choose the action **POST Invoke action createBadge** and then choose the **Output** tab.

9. Change the **Type** of **badgeId** to **number**.

    ![Adjust the output](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-badge-output-change.png)

10. On the **Input** tab, remove the **processInstanceId** field by selecting it then choosing **Remove**.

    ![Adjust the input](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-badge-input-change.png)

11. Choose **Save**.

12. Choose **Release**.

13. Choose **Publish**, and then in the popup choose **Publish**.

14. Choose action **POST Invoke action createBadge** and then choose the **Test** tab.

    ![Test the action](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-badge-test.png)

15. Enter the following in the Test Input Values fields.

    |  Name                    | Value         
    |  :-------------          | :-------------      
    |  **`status`**            | **`NEW`**   
    |  **`lastname`**          | **`Doe`**        
    |  **`firstname`**         | **`John`** 
    |  **`communityid`**       | **`john.doe@bestrunsap.com`**
    |  **`businesspartnerid`** | **`1003764`**

16. Make sure the correct destination has been selected, then choose **Test**.

    ![Action test response](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-action-create/joulestudio-actions-badge-response.png)

17. Inspect the response.

### Test yourself



