TASKS - Moving between Teams and add notification in its Stream

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rfrancocantero
    Member
    • May 2020
    • 72

    TASKS - Moving between Teams and add notification in its Stream

    Hi,

    Currentely we have 5 Teams. Each Team does it's own task.
    Team 1 creates a Task and after they finish it, they add Team 2 to the task and DEASSIGN Team 1.

    Members of Team 2 receive an email with a notification that there's a task for them. However, in the STREAM of the TASK it isn't registered that the Task is assigned to Team 2.
    How would it be able to add a notification in the Stream (by the system user) registering that it was assigned to the team?
  • emillod
    Active Community Member
    • Apr 2017
    • 1406

    #2
    You can change it in entity manager
    Click image for larger version

Name:	image.png
Views:	26
Size:	54.8 KB
ID:	113599

    Comment

    • dreginald
      Member
      • Sep 2018
      • 95

      #3
      Also you are write a workflow to assign the team 2 once the status is changed to "completed"

      Comment

      • rfrancocantero
        Member
        • May 2020
        • 72

        #4
        Originally posted by emillod
        You can change it in entity manager
        Click image for larger version  Name:	image.png Views:	2 Size:	54.8 KB ID:	113599
        Uh......

        Click image for larger version

Name:	image.png
Views:	5
Size:	43.7 KB
ID:	113640

        Comment


        • Kharg
          Kharg commented
          Editing a comment
          Check in the relationships menu of the entity instead.
      • rfrancocantero
        Member
        • May 2020
        • 72

        #5
        Originally posted by rfrancocantero

        Uh......

        Click image for larger version  Name:	image.png Views:	5 Size:	43.7 KB ID:	113640

        Hi, I think you mean this? In none of these I see the option Audited?


        Click image for larger version

Name:	image.png
Views:	0
Size:	29.3 KB
ID:	113644

        Comment

        • victor
          Active Community Member
          • Aug 2022
          • 740

          #6
          rfrancocantero,

          It looks like you have done some manipulation with the EspoCRM files/code (especially those related to Task and Team entities). Try to remember what exactly you did and fix it.

          If you can't remember it yourself, try the following:
          Click Reset to Default in Administration > Entity Manager > Task > Fields > Teams. Make Rebuild and refresh the page. If the "Audited" option does not appear, try next method.

          1. In your_entity_name/custom/Espo/Custom/Resources/metadata/entityDefs/Task.json add (screenshot 1):
          2. Save changes and make Rebuild.
          Even if the "Audited" option doesn't appear after refreshing the page, go back to your_entity_name/custom/Espo/Custom/Resources/metadata/entityDefs/Task.json and make sure the code you entered hasn't disappeared after Rebuild.
          3. Go to the test Task and change the teams field -> check if note in Stream has been added.
          Attached Files
          Last edited by victor; Yesterday, 03:59 PM.

          Comment

          Working...