title: VWAttachment added through API is not showing in CM 5.2
body: <p>I have retrieved a workitem using API and changed the attachment fields using <code>setParameterValue</code> , After saving the work using<code>stepElement.doSave(true)</code>, I can see the added attachments in the process tracker through process administration console , but my problem is it is not showing up in case navigator and in workplaceXT also it is saying <code>"Attachment may be corrupted or deleted"</code></p>
  
  <p>below is the code i used to create attachment</p>
  
  <pre><code>        tempAtt.setAttachmentName("check.png");
          tempAtt.setAttachmentDescription("Added by code");
          tempAtt.setType(VWAttachmentType.ATTACHMENT_TYPE_DOCUMENT);
          tempAtt.setLibraryType(VWLibraryType.LIBRARY_TYPE_CONTENT_ENGINE);
          tempAtt.setLibraryName("TOS");
          tempAtt.setId(doc.getVersionSeries().getId());
   tempAttA[0] = tempAtt;
   stepElement.setParameterValue("Zip", tempAttA, true);
  </code></pre>
  
  <p>I dont understand where i am wrong , please suggest.</p>
  
  <p>//Filenet p8 5.2 , Content Platform Engine</p>