// Register as an add and delete listener with the root configuration so we
// can be notified if any workflow element entries are added or removed.
rootConfiguration.addWorkflowElementAddListener(this);
rootConfiguration.addWorkflowElementDeleteListener(this);
//Initialize the existing workflows.
for (String workflowName : rootConfiguration.listWorkflowElements())
{