Attachments Variable - Email

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • muulox
    Member
    • Jan 2022
    • 38

    Attachments Variable - Email

    Hello,
    I created a manual workflow in Documents Entity, whit the action : Send e-mail.
    The mail is sent, but i whant to attach the document attachment/file.
    Question: What is the Attachments Variable to attach the file form the document?
    Thank you!
    Attached Files
  • rwb
    Junior Member
    • Feb 2025
    • 1

    #2
    Originally posted by muulox
    Hello,
    I created a manual workflow in Documents Entity, whit the action : Send e-mail.
    The mail is sent, but i whant to attach the document attachment/file.
    Question: What is the Attachments Variable to attach the file form the document?
    Thank you!
    How do you create the action "send email" if you want to notify a group from the project management extension?

    Our team has been using the CRM and this would be a very welcome addition in the PM extension.

    Comment

    • muulox
      Member
      • Jan 2022
      • 38

      #3
      Does anyone have an idea of what variable I should use? I tried all possibilities. file, attachment, fileId... but it doesn't send the attachment, only the email.
      Thank you!

      Comment

      • lazovic
        Super Moderator
        • Jan 2022
        • 864

        #4
        Hi muulox,

        Firstly, there is no entity\get() function in EspoCRM. Here you can see the list of available functions related to the entity: https://docs.espocrm.com/administration/formula/entity.

        Your workflow actions should look like this:

        Click image for larger version

Name:	image.png
Views:	7
Size:	27.7 KB
ID:	114931

        Where cFileId is the name (+ Id or Ids) of the field in which the attachment/attachments are placed.

        Comment

        • muulox
          Member
          • Jan 2022
          • 38

          #5
          Originally posted by lazovic
          Hi muulox,

          Firstly, there is no entity\get() function in EspoCRM. Here you can see the list of available functions related to the entity: https://docs.espocrm.com/administration/formula/entity.

          Your workflow actions should look like this:

          Click image for larger version  Name:	image.png Views:	0 Size:	27.7 KB ID:	114931

          Where cFileId is the name (+ Id or Ids) of the field in which the attachment/attachments are placed.
          Thank you. It's working!
          Attached Files

          Comment

          Working...