Hi
in Bonita 7.2.2 is it possible to automate the deployment of our rest api extensions and process parameters.
I have used the process api to deploy the .bar files:
BusinessArchive archive = BusinessArchiveFactory.readBusinessArchive(entry.getValue()) ;
final String entryKey = entry.getKey();
ProcessDefinition def = processAPI.deploy(archive);
I now need to configure the process parameters:
final List parameterInstances = processAPI.getParameterInstances(def.getId(),
0,
processAPI.getNumberOfParameterInstances(def.getId()),
ParameterCriterion.NAME_ASC);
Assert.assertNotNull("Failed to deploy "+entryKey,def);
for (ParameterInstance parameterInstance : parameterInstances) {
System.out.println(parameterInstance.getName());
//How do I set these values
}
I cannot find anything in the api that tells me how to update these parameters.
I also need to automate the deployment of our api extension . zip file, how do I do this?
Thanks