I want to check the checkbox value for code_review during development_complete action if the vlaue is 1 i wan to make Peer_Reviewd_by field Mandatory
checkbox vaule i am using are constant 0 and 1 ( 0 for unchecked)
on development_complete Action--> validation i have the below code but the code is firing as required but the field is not getting mandatory
Appreciate any help
IF ( GetFieldValue("Peer_Review").GetValue() = 1) Then
set sessionObj = GetSession
sessionObj.OutputDebugString " Peer review not checked."
SetFieldRequirednessForCurrentAction "Peer_Reviewed_by", AD_MANDATORY