Announcement

Collapse
No announcement yet.

Removing team id from upcoming emails

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Removing team id from upcoming emails

    Hi,
    Why why attached workflow removing only first related Teams?

    For example:
    Email was send on adress: aa@company.com, bb@company.com, cc@company.com

    aa@company.com is related with Group Email Accounts: TeamA
    bb@company.com is related with Group Email Accounts: TeamB
    cc@company.com is related with Group Email Accounts: TeamC

    Attached workflow removing only TeamA from assigned Teams to Email. TeamB and TeamC are still related with this Email.

    Thank You for help!

  • #2
    Hello,

    I think better is to use action Unlink from Another Record

    Comment


    • #3
      Tanya, I tested action Unlink from Another Record and still the same effect :/

      Comment


      • #4
        What, if you set in Entity Manager Formula. It runs before entity saved
        Code:
         IfThen(parentType != "Opportunity", teamsIds = [])

        Comment


        • #5
          Code:
          IfThen(parentType != "Opportunity", teamsIds = [null])
          If the message has been sent to one address, e.g. aa@company.com (TeamA), then the formula works. However, when it is sent to> 1 email address e.g. aa@company.com (TeamA), bb@company.com (TeamB) only one team is removed from related teams

          Comment


          • #6
            tanya yuri Do you have any ideas for a solution?

            Comment


            • #7
              could you try to change formula to
              IfThen(parentType != "Opportunity", teamsIds = list())
              This record is correct. Do you have any related customization or workflow?

              Comment


              • #8
                Originally posted by tanya View Post
                IfThen(parentType != "Opportunity", teamsIds = list())
                I turned off all related workflow. Still the same effect :/
                tanya yuri
                Have you ever tested such settings as mine? Any oder ideas?

                Comment


                • #9
                  Still any idea? is it not a bug?

                  Comment


                  • #10
                    further discussion is here https://forum.espocrm.com/forum/bug-...-does-not-work

                    Comment

                    Working...
                    X