OpenGroupware Coils Wiki
Status: Beta
Brought to you by:
whitemice
Extracts a file from a ZIP action into a workflow message
See also:
- [appendToZipFileAction] for storing content into a ZIP file.
- [sshGetFilesToZipAction] for retrieving files over SCP into a ZIP archive.
Parameter | Description |
---|---|
filename | The filename to extract from the ZIP archive; if not specified the first object in the ZIP archive will be extracted. |
mimetype | MIME-type to use for message containing the extracted content; if not specified defaults to "application/octet-stream". |
Extracts the first object from the ZIP data contained in RetrievedData into the work-flow message labeled "CrossData" having a MIME type of "text/plain".
<action name="actionActivity" id="000020"
extensionAttributes="V200RetrieveCrossFile/000020">
<input property="CrossData" formatter="StandardRaw"/>
<output><source property="RetrievedData"/></output>
<attributes xmlns="">
<extension name="activityName">extractFromZipArchive</extension>
<extension name="mimetype">text/plain</extension>
</attributes>
</action>
TBD