Debugging a Custom JAR File

After the above mentioned steps are done, the Workflow Adapter starts working. You can debug your custom workflow.

Important: To make calls to your local Workflow Adapter APIs, debug in Eclipse. Before making any calls, you must register a tenant by running the Register Tenants API. Your local Workflow Adapter does not have any process definitions. Therefore, you must deploy a process definition using the Deploy Process Definition(s) API.
While deploying a custom JAR locally, do the following steps:
  1. Under the custom.jar location parameter, place the Customer jar file into a folder specified in app.properties. For example, C:/Reltio/jars.
  2. Register your tenant in Workflow locally by executing the following SQL:
    insert into TENANT_REGISTRATION (ENVIRONMENT_URL, TENANT_ID) values('<envr url>',
                  '<tenant id>');
  3. Using the API, deploy the Customer JAR file to the Workflow Adapter.
  4. Enter the module field as the name of the Custom JAR file.
    The Workflow Adapter knows the path to the Custom JAR files from the custom.jar.location parameter of app.properties.
  5. Deploy the process definition using the API.
    For more information, see Deploy Process Definition(s).