this.startIdx = this.totalWorkflowInsts != 0 ? ((this.pageNum - 1) * PAGE_SIZE) + 1
: 0;
}
private String getWorkflowInstMet(WorkflowInstance inst, String metMapFilePath) {
WorkflowInstanceMetMap wInstMetMap = null;
String metString = null;
try {
wInstMetMap = WorkflowInstanceMetadataReader
.parseMetMapFile(metMapFilePath);
Metadata instMetadata = wm.getWM().getWorkflowInstanceMetadata(
inst.getId());
List<String> wInstFields = wInstMetMap.getFieldsForWorkflow(inst
.getWorkflow().getId()) != null ? wInstMetMap
.getFieldsForWorkflow(inst.getWorkflow().getId()) : wInstMetMap
.getDefaultFields();
StringBuffer metStrBuf = new StringBuffer();
for (String wInstField : wInstFields) {
metStrBuf.append(wInstField);