Facing the issue with Engine API (7.3.3) to get the ProcessDefinition

Issue:

Code: ProcessDefinition processDefinition= processAPI.getProcessDefinition(apiSession.getId());

While calling the above line code, I have been end with below exception
“Exception in thread “main” org.bonitasoft.engine.bpm.process.ProcessDefinitionNotFoundException: USERNAME=install | org.bonitasoft.engine.core.process.definition.exception.SProcessDefinitionNotFoundException: PROCESS_DEFINITION_ID=754865101872451363 | Unable to find the process definition deployment info.”

Steps followed:
We used to follow the Bonitasoft Documentation 7.3 (create your first project with Engine API with Maven)

Complete Java Code:
LoginAPI loginAPI=null;
APISession apiSession=null;

Map<String, String> settings = new HashMap<String, String>();
String username=“install”;
String password=“install”;
settings.put(“server.url”, “http://localhost:48935”);
settings.put(“application.name”, “bonita”);
APITypeManager.setAPITypeAndParams(ApiAccessType.HTTP, settings);

// get the LoginAPI using the TenantAPIAccessor
loginAPI = TenantAPIAccessor.getLoginAPI();
apiSession = loginAPI.login(username, password);
ProcessAPI processAPI = TenantAPIAccessor.getProcessAPI(apiSession);
ProcessDefinition processDefinition= processAPI.getProcessDefinition(apiSession.getId()); //–> facing issue here

Appreciate your support.

Thanks,
Rajiv M