Is there a way to start a column population job in DEV Studio to populate data from existing WOs to a newly exposed column? And how?
Hi @Will Cho,
below options for column population:
- Column population
- From dev studio, you can write an activity which will run a java code (similar to pxAutomaticColumnPopulation). Below is the java code which we used:
Step 1:Set values
Local.className = “your Class Name”
Local.property = “your property name”
Step 2: java step
IColPopulation colPop = ((PegaAPI)tools).getColumnPopulationAPI();
java.util.Set propertiesList = new HashSet();
try {
propertiesList.add(property);
colPop.schedulePopulationForProperties(className,propertiesList,null,null,null);
} catch (Exception e) {
oLog.error("Failed triggering column population for property “+property+” in class "+className+“due to the following error:\n” + e.getStackTrace());
}
Hope this helps!!
4 Likes