Retrieves a list of queue items for the specified Mobile Workflow package, and deletes the specified queue items.
PaginationResult<MobileWorkflowQueueItemVO> getMobileWorkflowQueueItems(int startIndex, int maxRecordsToReturn, MobileWorkflowIDVO id, List<Integer> deviceIDs, List<String> userNames, String orderByField, boolean ascending) throws SUPAdminException; void deleteMobileWorkflowQueueItem(Integer queueItemID, Boolean forTransformQueue) throws SUPAdminException;
If successful, returns an object of the specified type (can be null). If unsuccessful, returns SUPAdminException.
// Get workflow queue items MobileWorkflowIDVO workflowID = new MobileWorkflowIDVO(); workflowID.setVersion(1); workflowID.setWID(1); List<Integer> deviceIds = new ArrayList<Integer>(); deviceIds.add(4); PaginationResult<MobileWorkflowQueueItemVO> list = workflow .fetchWorkflowQueueItems(0, 2, workflowID, null, null, null, false); //Delete MobileWorkflow queue items. workflow.deleteMobileWorkflowQueueItem(1, true);