From variable to attachment

From variable to attachment

If you want to attach an extra file to an outgoing email, then you can use the advanced, utilities workflow component, From variable to attachment to achieve that. The component has these parameters:

 

NG2WorkflowVariable2Attachment01

 

Variable name

The name of the variable from which the data is to be copied from.

 

Decode base64

If the data in the variable is stored as an encoded base64 data stream, then you can enable this to convert the base64 data stream into a binary data stream.

 

Attachment name

The name of the attachment in the workflow, that is to receive the data from the variable.

 

If you see an attachment name when you receive the email like this:

 

NG2AttachmentName_Illegal0001

 

Then you are probably using an invalid characters in the attachment name. There is no standard as to which characters, that are allowed so you need to test for invalid characters and e.g. replace characters not found in the lists: a-z, A-Z and 0-9. On one mail server the dash (minus) character caused such an attachment name.

    Notice: Help Center Transition Update

    As of January 13, 2025, we are excited to announce that our new Help Center is in the final stages of development. While the Knowledge Base is already accessible, our current JIRA system will continue to manage support tickets during this transition period. For assistance with InterForm Output Management Software, please refer to the Support for InterForm Output Management Software.

    We appreciate your patience and understanding as we work to enhance your support experience. If you have any questions or encounter any issues, please do not hesitate to reach out via the existing support channels.

    Best regards,
    The InterForm Support Team


      • Related Articles

      • From attachment to variable

        You can copy an attachment within a workflow into a variable with the advanced, utilities component: From attachment to variable. The component has these parameters: Attachment name The name of the workflow attachment to copy. Variable name The name ...
      • Set attachment name

        The advanced set meta data workflow component, Set attachment name sets the name of the attachment for the next email(s) in the current workflow. This can be used with these workflow components e.g. to add an extra attachment to an email: File to ...
      • Rename attachment

        You can rename an attachment in the workflow before the attachment is added in an email with the advanced email tool component, Rename attachment. The component has these parameters: Current attachment name This is the existing attachment, that has ...
      • Include an image from an attachment in an AS400 command

        There are several ways to use a dynamic image in a template, but if you use an AS400 command, then you can also include an image as an attachment in the command, IFORMNG2/NG2CMD. Here is an example of how that can be done: On the command you can ...
      • Payload to attachment

        With the Payload to attachment component you can set the payload of the workflow to be the contents of the email attachment. The name of the attachment is set in the workflow component, Set attachment name, which you should insert first in the ...