Closed
Start a column population job
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?
This content is closed to future replies and is no longer being maintained or updated.
Links may no longer function. If you have a similar request, please write a new post.
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:
1. Column population
https://collaborate.pega.com/question/movedeploy-optimized-property-higher-environments-0
2. 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!!
Question
Question
Question Solved
Question
Question
Question
Question Solved
Question
Question
Question
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.