Introduction to Building a Guided Business Process Client Application

25-8 Modeling and Implementation Guide for Oracle Business Process Management Table 25–1 Guided Business Process Query Service API Method Description List queryAGDisplayInfosS tring bpmProcessType,IWorkf lowContext ctx,List agDisplayColumns,AGAs signmentFilter agAssignmentFilter,Pr edicate predicate,Ordering ordering, int startRow,int endRow Returns a list of AGDisplayInfo objects with fields defined in displayColumns , meeting the criteria defined by assignmentFilter and predicate, in the order specified by order , and with row numbers between startRow and endRow . The AGDisplayInfo objects contain both metadata and run-time data of the Guided Business Process instances involved, which you can use to render the Guided Business Process instance views in Oracle BPEL Worklist or custom applications. You can assign the String parameter bpmProcessType the following values: ■ IAGQueryService.AG_PROCESS_TYPE_BPM ■ IAGQueryService.AG_PROCESS_TYPE_BPEL ■ IAGQueryService.AG_PROCESS_TYPE_ANY As milestones and tasks are not visible from the Activity Guide instance views, it is recommended not to include the MILESTONE_STATE column in displayColumns to avoid unnecessary performance overhead. AGDisplayInfo getAGDisplayInfoDetai lsByIdString bpmProcessType,IWorkf lowContext ctx,long ciKey,List taskDisplayColumns,St ring agAssignmentFilter Returns the AGDisplayInfo object specified by the Activity Guide instance ID. The AGDisplayInfo object returned includes both milestone and task information, which you can use to render the Activity Guide tree structure in the custom application. You can assign the String parameter bpmProcessType the following values: ■ IAGQueryService.AG_PROCESS_TYPE_BPM ■ IAGQueryService.AG_PROCESS_TYPE_BPEL ■ IAGQueryService.AG_PROCESS_TYPE_ANY The String parameter agAssignmentFilter enables specifying a filter for this method. The following IAGQueryService parameters can be used as values this parameter: ■ IAGQueryService.AGASSIGNMENT_FILTER_MY ■ IAGQueryService.AGASSIGNMENT_FILTER_ REPORTEES ■ IAGQueryService.AGASSIGNMENT_FILTER_PREVIOUS ■ IAGQueryService.AGASSIGNMENT_FILTER_ADMIN