Quantcast
Viewing all articles
Browse latest Browse all 218482

Re: How use resource element as file xml in workflow ?

When i put in script task : var myXml = new XML(resource.getContentAsMimeAttachment().content); 

I got an error ReferenceError : "resource" is not defined and i try to search in google e4X and i found this :

 

01.var mimeAttachment = new MimeAttachment(); 

02.mimeAttachment.content = xmlString; 

03.mimeAttachment.mimeType = "text/xml"; 

04.mimeAttachment.name = resource.name;

 

And i got an another error "xmlString" is not defined.

 

For information, i use vCo appliance 5.1.1.

 

 


Viewing all articles
Browse latest Browse all 218482

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>