cancel
Showing results for 
Search instead for 
Did you mean: 

Ability to set targetNamespace /process definition category?

tstephen
Champ on-the-rise
Champ on-the-rise
Hi,

I am using Designer 5.7 and don't seem to be able to set the targetNamespace of the generated BPMN anywhere. Did I miss it? Thought I should check before adding a JIRA Smiley Happy

As you are no doubt aware this is used in the runtime as a category for the process definition, which would be very useful to make some manageable UI for even a fairly small set of process definitions.

thanks in advance,
Tim
6 REPLIES 6

trademak
Star Contributor
Star Contributor
Hi,

Right, this is not possible in the current version of the Designer.
Please create a JIRA and I'll make sure this gets implemented.

Best regards,

tstephen
Champ on-the-rise
Champ on-the-rise

houstoniasian
Champ in-the-making
Champ in-the-making
I'm using 5.13 and it still does not have setCategory() for process definition or deployment (programmatically).  Am I wrong?

At this time, I can only set Category for Process Definition at the design phase by modify the targetNamespace tag.  I still do not know how to set Category for a deployment.

Tan

trademak
Star Contributor
Star Contributor
Category for deployment is something you can set programmatically using the Java API.
The Designer supports category for a process definition through the target namespace field.

Best regards,

houstoniasian
Champ in-the-making
Champ in-the-making
I meant to say I can't change the category of a current deployment.  Let's say I have a customer who deploys a process w/ category "test".  I cannot not change the category from "test" to something else.

It's the same for process definition.  I can't change the "targetnamespace" through API.

Thanks,

Tan

frederikherema1
Star Contributor
Star Contributor
5.13 repositoryService:

/**
   * Sets the category of the deployment.
   * Deployments can be queried by category: see {@link DeploymentQuery#deploymentCategory(String)}.
   *
   * @throws ActivitiObjectNotFoundException if no deployment with the provided id can be found.
   */
  void setDeploymentCategory(String deploymentId, String category);
[code]

Simmilar method is available for the category of a PDef.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.