Connecting to an Engine Running in Studio

You use a PAPI client with an engine running in Studio to debug and test the project you are developing.
Note: The PAPI client and Studio application must run in the same host.

When configuring the connection properties, replace the property ProcessService.DIRECTORY_PROPERTIES_FILE for the property ProcessService.PROJECT_PATH and assign it the file-path to your project.

The following code shows you how to use this property:
  Properties config = new Properties();
  config.setProperty(ProcessService.DIRECTORY_ID, "default");
  config.setProperty(ProcessService.PROJECT_PATH, "../BPMWorkspace/PapiTest" );
          
Note: When connecting to an Engine in Studio, the operations to store views and presentations are not available.