Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 1.2 KB

File metadata and controls

23 lines (13 loc) · 1.2 KB

Use Custom NPM Package

Table of Contents

Description

SAP Automation Pilot has the functionality to run scripts in an isolated Linux environment which provides a large array of useful tools and runtimes including NodeJS. It's often necessary to install custom packges from the npm registry for functionalities that are not available in the standard NodeJS library.

This examples show how to install a custom package such as uuid and how to use it to generate UUIDs. The actual script can easily be modified to fit an actual productive scenario.

Please refer to the documentation for more details about the Execute Script functionality in Automation Pilot.

Requirements

There are no mandatory requirements.

How to use

Import the content of examples catalog in your Automation Pilot tenant. Navigate to the UseCustomNpmPackage command and check the configuration of the PythonScript executor. You can also trigger the command to see it in action.