createSubCategory in RAM does not work
Exception in thread "main" com.ibm.ram.common.data.exception.RAMRuntimeException: Subcategory Business Capability Catalog/Business Capabilities/Access Financial Markets/Monitor Capital Markets/My Buss Cap SubCategory Asset was not found for the asset My Buss Cap SubCategory Asset[1.0]. at com.ibm.ram.client.RAMAsset.categorize(RAMAsset.java:2300) at com.cof.custom.policy.AutoCategorizeSubCategoryUtil.createUpdateSubCategory(AutoCategorizeSubCategoryUtil.java:152) at com.cof.custom.policy.AutoCategorizeSubCategoryUtil.categorizeSubCategoryAssets(AutoCategorizeSubCategoryUtil.java:50) at com.cof.custom.policy.CustomPolicyUtility.manageAssets(CustomPolicyUtility.java:428) at com.cof.custom.policy.CustomPolicyUtility.main(CustomPolicyUtility.java:737) This is the code :- RAMSubCategory subCat = subCategory.createSubCategory(assetObj.getName()); session.put(categorySchema, new RAMStatusMonitor()); assetObj.categorize(subCat); session.put(assetObj, new RAMStatusMonitor());
User Action - User creates a subcategory asset and wants that subcategory asset to get displayed in the Visual browse window.
Please help.
Thanks,
Sourav
|
Be the first one to answer this question!
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.