Pega Launchpad is the platform for SaaS development, hosting and operations that empowers you to get workflow-centric B2B applications to market and revenue quickly, freeing up your resources to focus on innovation, customer success and business growth.
This repository contains some sample code and configuration to learn how to create your own functions in Pega Launchpad. Use as examples or starter code for your own functions as needed.
- Overview
- Table of Contents
- References
- Java SDK
- Example modules
- Setting up IntellJ workspace for this project
This repository also includes a java software development kit (SDK) to assist in the development of Launchpad Functions using the following runtime languages:
Name | Description | Latest jar/zip file |
---|---|---|
aws | AWS helpers (s3, comprehend) | jar |
base64 | Encoding/decoding base64 strings | jar |
docusign | Docusign e-signature example | jar |
Email utilities | jar | |
geocoding | Geocoding utilities | jar |
net | REST and HTTP utilities | jar |
nodejs | Nodejs function example | zip |
parser | CSV and JSON parsing | jar |
PDF form filler | jar | |
python | Python function example | zip |
text | String utilities | jar |
You can download the latest JAR releases for each module from the project release page, or you can generate the necessary JAR file (including dependencies) for uploading into a Pega Launchpad Function rule by running this command in your local workspace:
gradlew build
- For java examples, this will create/update the
module-vX.Y.Z-SNAPSHOT.jar
files in the various example modules, under theirbuild/libs
directory. - For python examples, this will create/update the
nodejs-vX.Y.Z-SNAPSHOT.zip
file in theexamples/nodejs/build/distributions
- For nodejs examples, this will create/update the
python-vX.Y.Z-SNAPSHOT.zip
file in theexample/python/build/distributions
directory
- Clone this git project to your local filesystems:
git clone https://github.com/pegasystems/pega-launchpad-functions.git
- In IntelliJ, open this project from your local folder
- Configure Settings -> Build, Execution, Deployment -> Build Tools -> Gradle to use a jdk 11, like semeru-11-*. Add/download from there if needed
- Configure Project Settings -> Project -> to use semeru-11-*, language level 11
To run gradle build scripts from command line, make sure you are using at least JDK 11, but nothing higher than that. Check your path and JAVA_HOME settings, download new jdk if necessary.