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

Document ID : KB000018993
Last Modified Date : 14/02/2018
Show Technical Document Details

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.