Assigning user after creation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • e.alhusamia
    Junior Member
    • Aug 2024
    • 6

    Assigning user after creation

    Hi, I'm assigning a user immediately after creating specific entities. While the functionality works, it currently triggers two notifications. Is there a way to reduce it to just one notification in this case?


    here is the screenshot of the workflow I built after creation for assigning the user
    Click image for larger version

Name:	image.png
Views:	56
Size:	35.3 KB
ID:	116606

    And this is the screenshot of the notification I received after creating each record in the Activity entity

    Click image for larger version

Name:	image.png
Views:	49
Size:	23.8 KB
ID:	116607

    any idea to reduce the notifications numbers or other way to auto-assign after creation for specific entities
  • lazovic
    Super Moderator
    • Jan 2022
    • 930

    #2
    Hi e.alhusamia,

    Please tell me which versions of EspoCRM and Advanced Pack extension are you using? This information is needed so that we can reproduce this issue.

    Comment

    • e.alhusamia
      Junior Member
      • Aug 2024
      • 6

      #3
      espo version is 8.2.3
      Advanced Pack is 3.4.5

      Comment

      • lazovic
        Super Moderator
        • Jan 2022
        • 930

        #4
        e.alhusamia,

        Unfortunately, I can't reproduce this behavior.

        Can you please tell me if there are any specific notification settings for users? Maybe there are also other workflows that affect the Activity entity? Any additional information would be useful in this case.

        Comment


        • item
          item commented
          Editing a comment
          Hi lazovic,

          Maybe :
          it's after create... so first he save maybe the assignedUser.. and then afterCreate he assigne to the new User.
          So for me it's ok, the workflow must beforeSave

          I can be wrong too
      • lazovic
        Super Moderator
        • Jan 2022
        • 930

        #5
        item,

        I see from the formula script that the workflow will only work if assignedUserId field value is empty. But any of the versions, of course, is possible.

        Comment

        • e.alhusamia
          Junior Member
          • Aug 2024
          • 6

          #6
          Thanks everyone for your support. I fixed the issue — the 'audit' option in the assigned user field was set to true

          Comment


          • yuri
            yuri commented
            Editing a comment
            In the future it will be fixed.
        Working...