Hi,

I am trying to complete a task via a form:

taskService.completeTaskWithForm(task.getId(), formID, null, variables);

Question: how do I get the formId of the task? I can get the formKey (task.getFormKey()), but what is the best way to get the formId?

Thanks,
Wim

Trying to get the FormProperties, I tried the following:

ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
RepositoryService repositoryService = processEngine.getRepositoryService();
FormService formService = processEngine.getFormService();

String barFileName="app.bar";
ZipInputStream inputStream = new ZipInputStream(new FileInputStream("C:\\path\to\\app.bar"));
repositoryService.createDeployment()
.name(barFileName)