Topic
6 replies Latest Post - ‏2014-06-27T07:54:18Z by pnsGlob
JuanRomero
JuanRomero
12 Posts
ACCEPTED ANSWER

Pinned topic Is there a way to restrict persons listed at "Select Owner" window. (SCCD 7.5)

‏2014-01-15T20:08:48Z |

 

Hi everybody
 
At the moment of choosing an owner,  if the SR has already an owner, the window is going to list every person available for becoming an owner. What we are trying to achieve it that the window only list every member of the person group the current  SR owner belongs to.
 
 
We have created the following conditional expresion:
 
persongroup in (select persongroup from persongroupteam where resppartygroup = :SR.OWNER)
 
Then, at the security group we have created an object restriction:
 
application = SR
object = PERSONGROUPVIEW
Type = QUALIFIED
condition = persongroup in (select persongroup from persongroupteam where resppartygroup = :SR.OWNER)
 
The problem is that the condition is not working, and it is not working because it looses the context: The condition is evaluated against PERSONGROUPVIEW object, and this object does not know the owner of the SR.
 
I really appreciate any idea you people can  have to solve this request.
 
Best regards
 
Juan Romero

Attachments

Updated on 2014-01-15T20:11:04Z at 2014-01-15T20:11:04Z by JuanRomero
  • S.Lsysadm
    S.Lsysadm
    24 Posts
    ACCEPTED ANSWER

    Re: Is there a way to restrict persons listed at "Select Owner" window. (SCCD 7.5)

    ‏2014-01-28T16:18:38Z  in response to JuanRomero

    Hi Juan

    I think the reason why it doesn't get evaluated against PERSONGROUPVIEW is because it's not a top level object. Qualified type does work on top-level object.

    Try using object = PERSON and see if it works or not.

    Thanks

    Stephan

    • JuanRomero
      JuanRomero
      12 Posts
      ACCEPTED ANSWER

      Re: Is there a way to restrict persons listed at "Select Owner" window. (SCCD 7.5)

      ‏2014-01-30T14:28:15Z  in response to S.Lsysadm

      Hi Stephan.

      At the moment of assigning an owner to a sr record it is done against the PERSONGROUPVIEW object. The object restriction has to be when SR application calls PERSONGROUPVIEW object. There is no problem using a no top level object to create the restriction.

      Actually  our concern is about the conditional expresion. the conditional expresion context is the PERSONGROUPVIEW but unfortunately the data the filter needs to work  is at SR object.

      We want that at the moment of choosing a new SR owner,  the user may only assign to any of the group members that the current SR owner belongs to.

      We need to inform to the PERSONGROUPVIEW the actual SR owner, but we can't because the current context is at  PERSONGROUP object, not service request object.

      Using PERSON object will lead us to the same issue.

      Best regards.

      Juan Romero

       

  • Techguy_maximo
    Techguy_maximo
    27 Posts
    ACCEPTED ANSWER

    Re: Is there a way to restrict persons listed at "Select Owner" window. (SCCD 7.5)

    ‏2014-01-28T18:11:08Z  in response to JuanRomero

    Hi Juan,

    Please change the object to SR as Stephan suggested. It will work.

    Thanks & Regrds

    • JuanRomero
      JuanRomero
      12 Posts
      ACCEPTED ANSWER

      Re: Is there a way to restrict persons listed at "Select Owner" window. (SCCD 7.5)

      ‏2014-01-30T14:34:13Z  in response to Techguy_maximo

      Hi Tech Guy

      We are triyng to filter PERSONGROUPVIEW records, not SR records.

      Change to SR object will not aloud us to filter PERSONGROUPVIEW object. 

      Best Regards.

      Juan Romero

  • P.Heath
    P.Heath
    187 Posts
    ACCEPTED ANSWER

    Re: Is there a way to restrict persons listed at "Select Owner" window. (SCCD 7.5)

    ‏2014-01-31T14:48:17Z  in response to JuanRomero

    There is a TICKET to PERSONGROUPVIEW relationship associated with the Persons tab of the Select owner dialog in SRs.

    Edit this relationship in ticket or create a new one in SR.

     

  • pnsGlob
    pnsGlob
    8 Posts
    ACCEPTED ANSWER

    Re: Is there a way to restrict persons listed at "Select Owner" window. (SCCD 7.5)

    ‏2014-06-27T07:54:18Z  in response to JuanRomero

    Did you ever  resolve this problem ?

    I have a similar problem only with incident where the owner selection should be dependent on which group has been chosen.