I defined "data extracted" parameter as document and no longer take InvalidCoercionException. And I also used SetValue operation as a second step in my process. But this time I get a different exception.
After exportdata operation it tries to send email(which is not defined in my worklow) and fails:
2007-12-05 21:20:33,510 INFO [com.adobe.workflow.AWS] Invoking action synchronously
2007-12-05 21:20:33,510 INFO [com.adobe.livecycle.formdataintegration.server.FormData] ALC-FDI-001-308: Processing exportData operation on source document 19909875.
2007-12-05 21:20:33,603 INFO [com.adobe.workflow.AWS] Invoking action synchronously
2007-12-05 21:20:33,775 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailWriterImpl] EmailWriterImpl error : 501 5.1.7 Invalid address
2007-12-05 21:20:33,775 INFO [STDOUT] javax.mail.MessagingException: 501 5.1.7 Invalid address
2007-12-05 21:20:33,775 INFO [STDOUT] at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1020)
2007-12-05 21:20:33,775 INFO [STDOUT] at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:716)
2007-12-05 21:20:33,775 INFO [STDOUT] at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:388)
2007-12-05 21:20:33,775 INFO [STDOUT] at com.adobe.idp.dsc.provider.service.email.impl.EmailWriterImpl.send(EmailWriterImpl.java:225)
2007-12-05 21:20:33,775 INFO [STDOUT] at com.adobe.idp.dsc.provider.service.email.impl.write.EmailResultHandlerImpl.sendResults(EmailResultHandlerImpl.java:300)
2007-12-05 21:20:33,775 INFO [STDOUT] at com.adobe.idp.dsc.provider.service.email.impl.write.EmailResultHandlerImpl.handleSuccess(EmailResultHandlerImpl.java:83)
2007-12-05 21:20:33,775 INFO [STDOUT] at com.adobe.idp.dsc.provider.service.email.impl.write.EmailResultHandlerImpl.handleSuccess(EmailResultHandlerImpl.java:72)
...
2007-12-05 21:20:33,790 INFO [com.adobe.idp.dsc.provider.service.email.impl.write.EmailResultHandlerImpl] Failed to send email Error = Internal error.
2007-12-05 21:20:33,790 INFO [com.adobe.idp.dsc.provider.service.email.impl.write.EmailResultHandlerImpl] Failed to send email, write results to local directory
2007-12-05 21:20:33,790 ERROR [com.adobe.idp.Document] DOCS001: Unexpected exception. while saving c:\EmailProvider\kgc\9999999944\071205212027\ResultFiles\*.pdf.
java.io.FileNotFoundException: c:\EmailProvider\kgc\9999999944\071205212027\ResultFiles\*.pdf (The filename, directory name, or volume label syntax is incorrect)
at java.io.FileOutputStream.open(Native Method)
Would it be because of the definitions of variables(other than type attribute), or the processes in the workflow or the system settings?