Table of Contents
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.
There are no mandatory requirements.
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.