Chapter 5. Asset execution options with Red Hat Process Automation Manager
After you build and deploy your Red Hat Process Automation Manager project to Process Server or other environment, you can execute the deployed assets for testing or for runtime consumption. You can also execute assets locally in addition to or instead of executing them after deployment.
The following options are the main methods for Red Hat Process Automation Manager asset execution:
Table 5.1. Asset execution options
Execution in Process Server
If you deployed Red Hat Process Automation Manager project assets to Process Server, you can use the Process Server REST API or Java client API to execute and interact with the deployed assets. You can also use Business Central or the headless Process Automation Manager controller outside of Business Central to manage the configurations and KIE containers in the Process Server instances associated with your deployed assets. For process definitions, you can use Business Central directly to execute process instances.
Execution in an embedded Java application
If you deployed Red Hat Process Automation Manager project assets in your own Java virtual machine (JVM) environment, microservice, or application server, you can use custom APIs or application interactions with core KIE APIs (not Process Server APIs) to execute assets in the embedded engine.
Execution in a local environment for extended testing
As part of your development cycle, you can execute assets locally to ensure that the assets you have created in Red Hat Process Automation Manager function as intended. You can use local execution in addition to or instead of executing assets after deployment.
Depending on your deployment and execution environment, you can use a Smart Router to aggregate multiple independent Process Server instances as though they are a single server. Smart Router is a single endpoint that can receive calls from client applications to any of your services and route each call automatically to the Process Server that runs the service. For more information about Smart Router, see Installing and configuring Red Hat Process Automation Manager in a Red Hat JBoss EAP clustered environment.