Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Assign Multiple Users to a task

  1. #1
    hytanium is offline Member
    Join Date
    Oct 2008
    Posts
    7

    Default Assign Multiple Users to a task

    I have searched through the forums but can't find a "working" way to assign a task or case to multiple users in the sugar sytem. Is it possible... if so please elaborate.

    Thanks in avance

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Assign Multiple Users to a task

    Hi hytanium

    If you are using SugarCRM 5.1 you can create a relationship M:M between Tasks and Users and Cases and Users.
    This will automatically create a subpanel of Users under these two modules.
    You can create a logic_hook before save for these two modules to add into Task-Users / Cases-Users relationships the assigned_user defined when saving the record.

    Let me know if you need additional help.

    Regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    hytanium is offline Member
    Join Date
    Oct 2008
    Posts
    7

    Default Re: Assign Multiple Users to a task

    Thanks Andre.

    I'm afraid I need step by step instructions if possible. I am using 5.1. If you could help out it would very much appreciated.

  4. #4
    riprod is offline Senior Member
    Join Date
    Nov 2008
    Posts
    20

    Default Re: Assign Multiple Users to a task

    WOW, that explanation was way over my head too.
    Any way to break that down to a simple step by step proceedure.

    You would think it would just have check boxes next to the users, so you could assign multiple people to a lead or task

  5. #5
    mzenns is offline Sugar Community Member
    Join Date
    Aug 2008
    Location
    N. Central PA, USA
    Posts
    39

    Default Re: Assign Multiple Users to a task

    Andre, could you post the instructions, please?

  6. #6
    sidh2111 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    29

    Default Re: Assign Multiple Users to a task

    Hi Andopes,

    By assign these multiple users with the cases will all those users can see this record if I set the Case edit access to owner.

    Thnaks
    Sid

  7. #7
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Assign Multiple Users to a task

    By default no but it is possible to create some logic_hooks into Tasks module to update the "Assigned User" if the "Current User" is one of the users assigned to that Task.
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  8. #8
    sidh2111 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    29

    Default Re: Assign Multiple Users to a task

    Hi Andopes

    Thanks for the reply. Actually my requirement is like I want to assign lets say 5 users to one case or account and when this 5 users loggs in all should be able to see this records. They should not be able to see other records.
    Can this be possible using this subpanel approach.

    Thanks & Regards
    Sid

  9. #9
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Assign Multiple Users to a task

    It can be performed creating two custom logics:

    1. logic_hook after_retrieve for Users module. You will update the $_REQUEST to add the assigned_user restriction into Search Form of Tasks;
    2. action_detailview and action_editview functions in the Tasks custom controller. You will refuse access to non authorized users to some Task.

    Regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  10. #10
    sidh2111 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    29

    Default Re: Assign Multiple Users to a task

    Hi andopes

    Thanks for the reply. But I am not that good at logic hooks so can you pls post the code.

    Thanks
    Sid

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Assign a task to multiple users
    By paulb in forum Feature Requests
    Replies: 15
    Last Post: 2009-06-09, 05:24 PM
  2. assign task to multiple users
    By zlatko in forum Help
    Replies: 0
    Last Post: 2007-09-07, 11:01 AM
  3. need option to assign multiple users in contacts
    By shirisha in forum Feature Requests
    Replies: 1
    Last Post: 2007-08-24, 10:36 AM
  4. Is it possible to add multiple users to a project task?
    By jgarifuna in forum General Discussion
    Replies: 3
    Last Post: 2006-01-12, 04:59 PM
  5. Assign Multiple Users to Task?
    By aegenes in forum Help
    Replies: 1
    Last Post: 2005-07-18, 04:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •