Skip to content

Example code for creating Functions in Pega Launchpad applications

License

Notifications You must be signed in to change notification settings

pegasystems/pega-launchpad-functions

Repository files navigation

Overview

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.

Table of Contents

References

Modules

Name Description Latest JAR file
base64 Encoding/decoding base64 strings jar
email email utilities jar
net REST and HTTP utilities jar
parser CSV and JSON parsing jar
pdf PDF form filler jar
text string utilities jar

Obtaining a JAR to upload into a Function rule

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

This will create/update the module-vX.Y.Z-SNAPSHOT.jar files in the various modules, under their build/libs directory.

Setting up IntellJ workspace for this project

  1. Clone this git project to your local filesystems: git clone https://github.com/pegasystems/pega-launchpad-functions.git
  2. In IntelliJ, open this project from your local folder
  3. Configure Settings -> Build, Execution, Deployment -> Build Tools -> Gradle to use a jdk 11, like semeru-11-*. Add/download from there if needed
  4. 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.

About

Example code for creating Functions in Pega Launchpad applications

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Languages