Building a Human Resource Employee Rewards Process

This workshop will teach you how to automate the process for a company's human resource (HR) employee awards program. The results will be your very own employee rewards process.
Prerequisites: Java 8+, Maven 3.2+, Red Hat Process Automation Manager 7.1, Red Hat Process Automation Manager Kie Server 7.1, JBoss EAP 7.1

Lab 1 - Install Red Hat Process

Automation Manager

Lab Goal

To install and log in to Red Hat

Process Automation Manager product

Download Project

Prepare Project

Place all product downloads into the installs directory:

  • $ cp jboss-eap-7.1.0.zip rhpam-install-demo-master/installs/
  • $ cp rhpam-7.1.0-business-central-eap7-deployable.zip rhpam-install-demo-master/installs/
  • $ cp rhpam-7.1.0-kie-server-ee7.zip rhpam-install-demo-master/installs/
  • $ cp rhpam-7.1.0-add-ons.zip rhpam-install-demo-master/installs/

Install Process Automation Manager

From directory rhpam-install-demo-master run install:

  • $ ./init.sh



Upon install completion start Process Automation Manager:

  • $ ./target/jboss-eap-7.1/bin/standalone.sh

Process Automation Manager

Standalone Configuration

Running in standalone mode so we've set properties to lock in the location of the internal git repository.

  • Settings are found in standalone.xml:
    • $ cat rhpam-install-demo-master/support/standalone.xml
    • <property name="org.uberfire.nio.git.dir" value="${jboss.home.dir}/bin"/>

  • All projects stored in GIT repository at .niogit/* found here:
    • ./target/jboss-eap-7.1/bin/.niogit/

Process Automation Manager

User Configuration

User configuration was automated during installation
  • target/jboss-eap-7.1/bin/add-user.sh -a -r ApplicationRealm -u erics -p redhatpam1! -ro analyst,admin,manager,user,kie-server,kiemgmt,rest-all --silent
  • target/jboss-eap-7.1/bin/add-user.sh -a -r ApplicationRealm -u kieserver -p kieserver1! -ro kie-server --silent
  • target/jboss-eap-7.1/bin/add-user.sh -a -r ApplicationRealm -u caseuser -p redhatpam1! -ro user --silent
  • target/jboss-eap-7.1/bin/add-user.sh -a -r ApplicationRealm -u casemanager -p redhatpam1! -ro user,manager --silent
  • target/jboss-eap-7.1/bin/add-user.sh -a -r ApplicationRealm -u casesupplier -p redhatpam1! -ro user,supplier --silent

Process Automation Manager

User Configuration

Users configuration generated in to the file application-users.properites and application-roles.properties.

They can be found here:
  • ./target/jboss-eap-7.1/standalone/configuration/application-{users|roles}.properties

Process Automation Manager

User roles

There are 7 user roles:
  • admin - full access to product
  • analyst - developer access, except assets & deployments
  • manager - most restrictive, only view reports
  • user - only manage processes, tasks, view reports
  • kie-server - access to kie-servers
  • kiemgmt - for management of kie-servers
  • rest-all - access to rest api

Process Automation Manager

Users

The user and password for all roles in this workshop:
  • u: erics
  • p: redhatpam1!

Process Automation Manager

Log in to Business Central

Access to Process Automation Manager is through the business central console:



  • user: erics
  • password: redhatpam1!

Lab results...

Eric D. Schabell
Global Technology Evangelist & Portfolio Architect Director
@ericschabell
http://schabell.org
Other Red Hat Process Automation Manager Workshops

Red Hat Process Automation Manager Articles

Red Hat Process Automation Manager Demos

Process Automation Manager

Up next...

Lab 2 - Create a new project