CA Service Management

 View Only
  • 1.  restrict approver to approve the task,

    Posted Sep 11, 2019 05:39 PM
    Hi Team

    We have Request workflows implemented in our sdm 17.1

    we noticed that the approver can approve the workflow task even if he/she is not the member of the group attached to that workflow task from the ticket page relationship-->workflow

    how can we restrict this so that approver can only approve their group task and not other task.

    I believe this can be achieve from DP. pls little guidance 

    Many Thanks

    #ca_sdm_17.1
    #caservicedesk17.0 


    ​​​


  • 2.  RE: restrict approver to approve the task,

    Broadcom Employee
    Posted Sep 11, 2019 10:05 PM
    Try: 

    An Update data partition constraint for a Workflow task attached to a Change Order does not implement the restriction and displays AHD03055 when used.


    Try: Kyle_R/


  • 3.  RE: restrict approver to approve the task,

    Posted Sep 11, 2019 10:13 PM
    Hi Kyle

    page is not available.




  • 4.  RE: restrict approver to approve the task,
    Best Answer

    Broadcom Employee
    Posted Sep 12, 2019 01:12 AM
    Really? I don't know why. You may want to log a Support issue to find out why you can't see it.

    Here's a copy of the text.

    Thanks, Kyle_R.


    Article Id: 18993

    Article title: An Update data partition constraint for a Workflow task attached to a Change Order does not implement the restriction and displays AHD03055 when used.

    Validation Status: Validated

    Status: Published

    Created Time: 21-03-2018 19:35

    Products:CA IT Asset Manager , CA Software Asset Manager (CA SAM) , ASSET PORTFOLIO MGMT- SERVER , SUPPORT AUTOMATION- SERVER , CA Service Desk Manager - Unified Self Service , KNOWLEDGE TOOLS , CA Service Management - Asset Portfolio Management , CA Service Management - Service Desk Manager

    Search Summary:

    This document explains how to create a Data Partition Constraint which allows the logged-in user to update a Workflow task under specific conditions.

    Issue/Introduction:

    Problem: 

    The following data partition is added to the data partition list for the out-of-the-box data partition named "Service Desk Analyst":

      Table Name: Workflow_Task       

    Constraint Type: Update Record Status: Active Constraint: assignee = @root.id OR group.[group]group_list.member IN (@root.id)


    The intention is to only allow the logged-in user to update a Workflow task for which the logged-in user is the Assignee or for which the logged-in user is a member of a Group that is designated as the assigned Group for the task.

    However, when the logged in user attempts to update a workflow task which satisfies the restrictions, although the user is able to make changes to the Update Change Workflow form for the workflow task, when the user clicks the Save button on the form, the following error message is written on the form:

    AHD03055: Data partition Update restriction on Workflow Task

    Environment:  

    CA Service Desk Manager (SDM) R12.x, 14.1

    Cause: 

    Content

    Resolution:

    The suggested solution is to create a Pre-Update type of constraint instead of an Update type of constraint.

    So, do not create this constraint:

      Data Parition Name: Service Desk Analyst       

    Table Name: Workflow_Task Constraint Type: Update Record Status: Active Constraint: assignee = @root.id OR group.[group]group_list.member IN (@root.id)

     

    Instead, create this constraint:

      Data Parition Name: Service Desk Analyst  

    Table Name: Workflow_Task Constraint Type: Pre-Update Record Status: Active Constraint: assignee = @root.id OR group.[group]group_list.member IN (@root.id)

     

    Alternatively, use a View constraint type.

     

    Cause:Environment:

    Release: SDMU0M99000-14.1-Service Desk Manager-Full License




  • 5.  RE: restrict approver to approve the task,

    Posted Sep 12, 2019 06:56 AM
    Many Thanks Kyle


  • 6.  RE: restrict approver to approve the task,

    Broadcom Employee
    Posted Sep 12, 2019 07:32 AM
    Edited by Brian Mathato Sep 12, 2019 07:34 AM
    Here's the external link:

    https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=18993

    The reason you were not able to access the initial link is that you were given an internal link

    ------------------------------
    Kind Regards,
    Brian
    ------------------------------