Installs a mobile workflow package.
MobileWorkflowIDVO installMobileWorkflow(byte[] zippedWorkflowPackage) throws SUPAdminException;
If successful, returns an object of the specified type (can be null). If unsuccessful, returns SUPAdminException.
// Install workflow byte[] workflowBytes= getWorkflowBytes(); MobileWorkflowIDVO workflowID = workflow .installMobileWorkflow(zippedWorkflowPackage); private byte[] getWorkflowBytes() throws URISyntaxException, IOException { String ZIP_NAME = "C:/ActivitiesPackage.zip"; File zipFile = new File(ZIP_NAME); byte[] zippedWorkflowPackage = new byte[(int) zipFile.length()]; DataInputStream inputStream = new DataInputStream(new FileInputStream( zipFile)); inputStream.readFully(zippedWorkflowPackage); return zippedWorkflowPackage; }