Hey all, I am looking to clone a complex asset type with multiple scopes, and decided that the best way to do this would be to use a quick workflow to create a new asset type, and then go through all the source assignments and create them in the target asset type. I thought this might be the easiest way, but... When trying to adding an attribute assignment with using assignmentApi.addAssignment() and the CharacteristicTypeAssignmentReference looks like: CharacteristicTypeAssignmentReference.builder()
.id(theAssignedCharacteristicType.getAssignedResourceReference().getId())
.min(theAssignedCharacteristicType.getMinimumOccurrences())
.max(theAssignedCharacteristicType.getMaximumOccurrences())
.resourceDiscriminator(theAssignedCharacteristicType.getAssignedResourcePublicId())
.type(theAssignedCharacteristicType.getAssignedResourceReference()?.getResourceType())
.build() I consistently get 2025-07-28 09:36:56.717 [http-nio-0.0.0.0-4400-exec-28] <strong>WARN</strong> c.c.d.w.s.g.b.SecureGroovyTaskActivityBehavior - Exception while executing cloneAssetType_ScriptTask : groovy script evaluation failed: 'javax.script.ScriptException: com.collibra.common.api.exception.ApiException: java.lang.NullPointerException: Cannot invoke "com.collibra.dgc.core.meta.assignment.dto.AssignedCharacteristicTypeParameters.getType()" because "p" is null' Trace: scopeType=bpmn, scopeDefinitionKey=cloneAssetType, scopeDefinitionId=cloneAssetType:29:0198513f-bf61-7809-b725-160e7a675d78, subScopeDefinitionKey=cloneAssetType_ScriptTask, tenantId=<empty>, type=scriptTask I'm suspecting a bug, but I have been wrong before. 🙄 😚Has anyone leveraged CharacteristicTypeAssignmentReference successfully in assigning asset type characteristics? Is there an easier way to duplicate an asset type with multiple scopes?