Check If Operator is available or not in the activity CreateOperator

Hello ,

in my activity create operator in Data-Admin-Operator-ID , We have a requirement to check if the opertor is available/exists or not , other wise if is the operatorID exist set error message

Is there any way to check if the OperatorID is available . is there any OOTB Rule or is there any way that I can validate this.

Please help me in this.

Regards,

Hi @marwab91: Are you using OOTB CreateOperator activity to create new profiles? In yes, it already has logics to check duplicates. It is suggested to use PEGA provided OOTB rules to create operator record. If you wish to have your own logic, you can make use of KeyValidate to validate if the profile is existing or not.

Other ways is to make use of D_pxOperatorDetails to check if the operator is available in system.

Thanks.

@ArulDevan hello arul

no i used my own activity for create new operator , if i used this DP D_pxOperatorDetails how i can implent it in my activity how i can apply it , what’s the method that i should used

Thank you

Hi @marwab91: Based on whether you are using validate rule / property set message / page set message, you can configure a condition to check if the operator exist in the system using the below condition.

@pxIsBlank(D_pxOperatorDetails[OperatorId:Param.OPID].pyUserIdentifier)

Above will return true is the user is not available in system.

Thanks.