AnsweredAssumed Answered

Variable Problems?

Question asked by JoeMintz on Jul 9, 2012
Latest reply on Jul 9, 2012 by JoeMintz

Title

Variable Problems?

Post

So I cannot tell if this is a problem with my variable calculation, or if it is a problem with the plugin.  Considering it uses the 360Works Email plugin, I don't think it would be an issue with it, since it seems to be updated very often.  So i'm blaming me, human error :).

What I have been doing is, first I set a loop so that it grabs 1 field, the same field, which is the raw data URL from the container, and sets it up in the variable.  This is the calculation:

Set Variable [$List ; List ( $List ; "EmailAttachFile( "&"\""&Documents::_c_RawData URL&"\""&" ) and" )]

It appears to get the data correctly, because I have it set a random field just to make sure.  So I setRandomField $List, and it displays what I have gathered from the records:

EmailAttachFile( "http://url1" ) and
EmailAttachFile( "http://url2" ) and
EmailAttachFile( "http://url3" ) and
When I run the following script, it nothing happens however (I took out the email information for privacy):
EmailSetBody( "This is the body of the email" ; "plain" ) and 

$List

EmailSend and

EmailDisconnect
BUT, when I run the following script, it works perfectly:
EmailSetBody( "This is the body of the email" ; "plain" ) and 
EmailAttachFile( "http://url1" ) and
EmailAttachFile( "http://url2" ) and
EmailAttachFile( "http://url3" ) and
EmailSend and

EmailDisconnect

Does anyone perhaps have any idea of what I am doing wrong?

Outcomes