Edit workflow so that certain defect field cannot be modified after defect creation

  • Questions
  • Edit workflow so that certain defect field cannot be modified after defect creation
Question ID: 107920
1
0

I am looking to edit our defect workflow so that a specific field cannot be changed once the defect is created. Only 2 security groups can change that field after the defect is created.

Marked as spam
Posted by (Questions: 199, Answers: 1)
Asked on October 23, 2017 9:21 pm
5 views
Answers (1)
1
Private answer

GoDawgs,

After many attempts, we were able to get your desired results by modifying your workflow. We had to add the following statement to the Bug_MoveTo subroutine:

Bug_Fields(''BG_DETECTED_IN_RCYC'').IsReadOnly = True

and added the if statement checking the groups and setting the .IsReadOnly flag to False for those groups and True for all other groups in the Bug_FieldCanChange subroutine.

Marked as spam
Posted by (Questions: 1, Answers: 213)
Answered on October 23, 2017 9:45 pm