Import workflow selection shows no values in RSA Identity Governance & Lifecycle
2 years ago
Originally Published: 2017-12-13
Article Number
000057208
Applies To
RSA Product Set: RSA Identity Governance & Lifecycle
RSA Version/Condition: All
Issue
When attempting to import a workflow, after selecting the zip, file there are no workflows to select in the resulting table.
User-added image

The aveksaServer.log file will show errors similar what is shown here: 

12/08/2017 15:20:40.618 ERROR (http-0.0.0.0-8443-1) [com.aveksa.UI] com.aveksa.gui.pages.admin.metadata.edit.workflow.ImportWorkflowsSummaryTable.getObjectList(ImportWorkflowsSummaryTable.java:102) -
com.workpoint.common.exception.ArchiveException: Missing ZIP entry for file Header.xml
  at com.workpoint.archive.Import.getZipString(Unknown Source)
  at com.workpoint.archive.Import.<init>(Unknown Source)
  at com.aveksa.server.workflow.archive.WorkflowManifest.getManifestEntries(WorkflowManifest.java:62)
...

 
 
12/08/2017 15:21:14.218 ERROR (http-0.0.0.0-8443-7) [com.aveksa.UI] com.aveksa.gui.pages.admin.metadata.edit.workflow.ImportWorkflowsSummaryTable.getObjectList(ImportWorkflowsSummaryTable.java:102) - java.util.zip.ZipException: error in opening zip file
  at java.util.zip.ZipFile.open(Native Method)
  at java.util.zip.ZipFile.<init>(ZipFile.java:132)
  at java.util.zip.ZipFile.<init>(ZipFile.java:169)

..
.
Resolution
This issue occurs when the workflow's XML and manifest.acm files are nested in a subdirectory of an imported zip file. The zip file must contain the XML and acm files in its immediate directory for the workflow items to populate the import table.

Below is an example of a bad file. I attempted to import the highlighted Workflow-12-20-2017.zip. This did not work as the files were zipped within it.
 
User-added image

Below is a good example. This works as the files are immediately present when the zip is opened.
 
User-added image