My Oracle Support Banner

NoClassDefination exception for IDynamicAssignmentPattern interface when Round Robin algorithm is used in BPM process (Doc ID 1591751.1)

Last updated on FEBRUARY 08, 2020

Applies to:

Oracle Business Process Management Suite - Version and later
Information in this document applies to any platform.


 When creating custom dynamic allocation algorithm in BPM to allocate tasks, As per the Oracle documentation

Created own allocation class implementing IDynamicAssignmentPattern interface.Copied the exact code used for ROUND_ROBIN in-build function.
After that deployed the class as library in targetted to Admin Server + SOA server. As a next step added that function in Workflow Task Service Properties using EM.

However when ever using the custom function in BPM process using in BPM process for example:

Our bpm instance get faulted and throws NoClassDef exception for IDynamicAssignmentPattern interface.


1. Create a java application created using "" interface as par the Oracle document
2. Write a custom allocation logic by overridding dynamicTaskAssign method for example hwf:dynamicTaskAssign('CUSTOM_ROUND_ROBIN','AllocationGroupTest','group','user','true','OwnerUser')
3. Generate a jar file with the created deployment profille.
4. This class is created by implementing "" interface
5. Deploy the jar as a library in weblogic server and target to Admin and SOA managed server.
5. Open EM console and go to SOA > soa-infra. Right click on soa-infra > SOA Administration > Workflow properties > Task tab.
6. Click on Add Function. On the popup provide a function name as CUSTOM_ROUND_ROBIN, Classpath as, parameter name as MAX_MAP_SIZE and value as 10000. Click Ok.
7. Click Apply.

Added new custom allocation function in EM Console, Now We need to use it in our BPM Process for allocation.

Create couple of instances as above. As par the above custom allocation function, the instances should be allocated to the users under the "MMTAllocationGroupTest" group in an round robin fasion.

But the instances get faulted with the below fault:

<bpelFault><faultType>0</faultType><bindingFault xmlns=""><part name="summary"><summary>oracle.fabric.common.FabricInvocationException: javax.ejb.EJBException: what do i do: seems an odd quirk of the EJB spec. The exception is:java.lang.NoClassDefFoundError: oracle/bpel/services/workflow/assignment/dynamic/IDynamicAssignmentPattern</summary></part><part name="detail"><detail>what do i do: seems an odd quirk of the EJB spec. The exception is:java.lang.NoClassDefFoundError: oracle/bpel/services/workflow/assignment/dynamic/IDynamicAssignmentPattern</detail></part><part name="code"><code>null</code></part></bindingFault></bpelFault>



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.