
schema.jpdl.jpdl-4.4.xsd Maven / Gradle / Ivy
Schema for jPDL 4 process descriptions;
the top level element is process.
jBPM Process Definition Language definition.
This is the top level element in a process definition file.
The process name. Multiple processes can be deployed with the same
name, as long as they have a different version.
The key can be used to provide a short acronym that replaces the name
as the basis for the generated process definition id.
Indicates the version number of this process definition among its
homonyms. By specifying a version, automatic deployment can tell whether this
process is already deployed.
Start event.
Resource name of the form in the deployment.
End event.
Specify the end state of the execution explicitly.
End cancel event.
End cancel event.
Wait state. When an execution arrives in this activity,
the execution stops until an external trigger is delivered through
execution.signal() or execution.getActivityInstance().signal()
Decision gateway: selects one path out of many alternatives.
When an execution arrives, it takes exactly one outgoing transition.
Expression to evaluate.
Scripting language to interpret.
The script that will be evaluated and resolve to
the name of the outgoing transition.
Identification of the scripting language
to use for the expr attribute.
Spawns concurrent paths of execution
over each element of a collection.
Spawns multiple concurrent paths of
execution.
Spawns multiple concurrent paths of
execution.
Evaluates a piece of text as a script.
Performs a Hibernate query.
Performs a Hibernate SQL query.
Sends an email.
Sends an email.
Invokes a method on a java object.
Either the java class is instantiated with reflection,
or the java object is fetched from the environment.
Values are then injected into the fields and.
Finally a method is invoked.
Assigns a source value to a target location.
Calls a user defined, custom implementation of
ActivityBehaviour.
Creates a task in the task component.
Resource name of the form in the deployment.
Waits while a sub process instance is being executed
and continues when the sub process instance ends.
Events on which listeners can be registered.
References a sub-process by id. This means that a specific
version of a process definition is referenced.
References a sub-process by key. Therefore, the latest
version of the process definition with the given key is referenced.
The latest version is resolved in each execution.
Expression that is evaluated when the sub process instance ends.
The value is then used for outcome transition mapping.
Scope enclosing a number of activities.
Events on which listeners can be registered.
Selects one outgoing transition based on evaluation
of rules.
Events on which listeners can be registered.
Evaluates rules after feeding in some facts in a stateful
knowledge session.
Expression to evaluate.
Script language to interpret.
Events on which listeners can be registered.
The null value.
Reference to an object in the current environment.
The name of the referred object.
The current environment.
JNDI lookup based off the initial context.
java.util.List instance.
The name of the object. Optional, serves as an identifier
to refer to this object from other object descriptions.
Also used to fetch the object programmatically.
List implementation class.
Indicates if this collection should be synchronized
with Collections.synchronizedList()
java.util.Set instance.
The name of the object. Optional, serves as an identifier
to refer to this object from other object descriptions.
Also used to fetch the object programmatically.
Set implementation class.
Indicates if this collection should be synchronized
with Collections.synchronizedSet()
java.util.Properties instance.
The name of the object. Optional, serves as an identifier
to refer to this object from other object descriptions.
Also used to fetch the object programmatically.
File in the file system.
Resource in the classpath.
Resource in the web.
tells whether the resource referenced by
attributes 'file', 'resource' or 'url' is XML. The default is the
plain properties format, where a space or '=' separates the key
from the value in each line.
The name of the object. Optional, serves as an identifier
to refer to this object from other object descriptions.
Also used to fetch the object programmatically.
8-bit signed integer.
The name of the object. Optional, serves as an identifier
to refer to this object from other object descriptions.
Also used to fetch the object programmatically.
16-bit Unicode character.
The name of the object. Optional, serves as an identifier
to refer to this object from other object descriptions.
Also used to fetch the object programmatically.
64-bit floating point number.
The name of the object. Optional, serves as an identifier
to refer to this object from other object descriptions.
Also used to fetch the object programmatically.
Boolean false value
The name of the object. Optional, serves as an identifier
to refer to this object from other object descriptions.
Also used to fetch the object programmatically.
32-bit floating point number.
The name of the object. Optional, serves as an identifier
to refer to this object from other object descriptions.
Also used to fetch the object programmatically.
32-bit signed integer.
The name of the object. Optional, serves as an identifier
to refer to this object from other object descriptions.
Also used to fetch the object programmatically.
64-bit signed integer.
The name of the object. Optional, serves as an identifier
to refer to this object from other object descriptions.
Also used to fetch the object programmatically.
16-bit signed integer.
The name of the object. Optional, serves as an identifier
to refer to this object from other object descriptions.
Also used to fetch the object programmatically.
Boolean true value.
The name of the object. Optional, serves as an identifier
to refer to this object from other object descriptions.
Also used to fetch the object programmatically.
Any java object that will be created by reflection.
There are three main ways to create an object: by constructor or by a factory
object or a static factory method.
Using the constructor: the class
attribute must provide
the fully qualified class name. In case a constructor other than the default
should be invoked, a constructor
child element can be provided.
The factory
attribute should be absent when using a constructor.
Using a factory: the factory
attribute or one
factory
element must be provided along with the attribute
method
.
Using a static factory method: the class
and method
attributes should be specified. There should not be a factory
attribute or element.
Construction and initialization: all objects (constructor and factory)
are build in two phases: construction and initialisation phase. During construction
all is done until a pointer is obtained to the object. In initialisation, operations
are applied to the object until it is ready to be used. The separation between
construction and initialisation is made to allow for bidirectional references.
Operations: after construction, various operations can be applied to objects
like e.g. direct field injection, injection through setters, method invocation,
enlist with the standard transaction, subscribe the object to an observable.
Arguments: there are two different places for arguments. The arg
elements for the factory method invocation should be placed as child elements under
the object
element. The arg
elements for the constructor
should be placed as child elements of the constructor
element.
Contains one element that describes the factory object.
Specifies the arguments for a non-default constructor.
The factory method arguments.
Injects a value into a member field of this object.
Exactly one child element must specify the value.
Member field name.
Injects a value through a setter method.
Exactly one child element must specify the value.
Name of the property (without the 'set' prefix).
Invokes a method.
Method name.
Fully qualified class name
Expression that provides the object.
Script language to interpret.
Name of the factory object.
Factory method name
Indicates if the member fields and setter properties
should be wired automatically based on matching the property names and types
with the object names and types.
Indicates if the user code should be cached.
The method arguments.
Each 'arg' element should have exactly one child
element that represents the value of the argument.
Class name representing the method type.
Optional, helps resolve the appropriate method in case of overloading.
java.util.Map instance.
Map implementation class.
Indicates if this collection should be synchronized
with Collections.synchronizedCollection()
Field injections from the environment invocation.
Method arguments.
The name of the method to invoke.
The jndi name of the ejb that needs to be invoked.
The class to instantiate.
Expression that resolves to the target object
on which the method should be invoked.
The language in which attribute 'expr' is to be
resolved.
The variable name to store the return value.
The text content of this element is the script to evaluate.
This element and the expression attribute are mutually exclusive.
The value of this attribute is the script to evaluate.
This attribute and the text element are mutually exclusive.
Identifies the scripting language in use.
Name of the variable in which the result
of the script evaluation will be stored.
Descriptor that constructs the source value.
Expression that resolves the source value.
Language in which from-expr is written.
Variable that provides the source value.
Expression that resolves the target location.
Variable that provides the target location.
Query text.
Query parameters.
Name of the variable in which the result
of the script evaluation will be stored.
Tells whether the query returns a unique result.
Name of this activity. The name should be unique
in the complete scope of the process.
Graphical information used by process designer tool.
Specifies async continuation.
The assignment attributes are used in
tasks and swimlanes to specify who is the assignee.
Expression that resolves to a userId referencing
the person to whom the task or swimlane will be assigned.
Expression language for the assignee attribute.
Expression that resolves to a comma separated
list of userIds. All the referred people will be candidates for
take the task or swimlane.
Expression language for the
candidate-users attribute.
Resolves to a comma separated list of groupIds.
All the referred people will be candidates to
take the task or swimlane.
Expression language for the
candidate-groups attribute.
Process role.
The outgoing transitions. The first in the list
will be the default outgoing transition.
Name of this outgoing transition
Name of the destination activity of this transition.
Graphical information used by process designer tool.
Link from one activity to another.
List of event listeners that will
be notified when the event is fired
Event identification. start, end, take or
any other custom event.
Name of the sub process variable.
Expression that provides the variable value.
Language of the expression.
Name of the process variable
in the super process.
List of event listeners that will
be notified when the timer fires.
Timer duedate expression that defines the duedate of this
timer relative to the creation time of the timer.
E.g. '2 hours' or '4 business days'.
Timer duedate expression that defines repeated scheduling
relative to the last timer fire event.
E.g. '2 hours' or '4 business days'
Absolute time in the format HH:mm dd/MM/yyyy
.
The format can be customized in the configuration.
Explicit variable declaration.
Name of the variable. Must differ from other variable
names.
Type of the variable.
Resource in the web.
Resource in the classpath.
Path in the file system.
JNDI name of the connection factory.
JNDI name of the destination.
Tells whether the message should be sent in a transaction.
Indicates the acknowledgment mode.
List of email addresses separated by ',' (comma)
or whitespace.
List of users, resolved to email addresses thought
the configured identity component. Users are separated by ',' (comma)
';' (semicolon) or whitespace.
List of groups, that are resolved to the email address against
configured identity component. Groups are separated by ',' (comma)
';' (semicolon) or whitespace
Reference to the email template.
Information to migrate instances of previously deployed
process definitions to the new version.
The migration handler specifies the name of a class to be executed
while migrating the process instance.
One activity mapping will be present for each activity of which the
name changed.
Name of the activity in the previously deployed
process definition.
Name of the activity in the newly deployed
process definition.