An assessment entered in the RAS_ID_SURVEYED field may be assigned to a candidate using workflow. The custom function 'P2k_CF_TDRASSURVEYED' is used in the workflow usercalc to create and assign the assessment. The workflow is triggered when the employee and/or candidate registers for a class. therefore the custom function is associated with the 'WF_CRSE' product. Below is an example of a usercalc.

LineCMDType 1Operand 1OperType 2Operand 2Type 3Operand 3If
Goto
Else
Goto
10IFCFINSERTINGEQBTRUE 2099999
20IFDBCRS.RAS_ID_SURVEYEDGTN0 30 99999
30IFCFP2K_CF_TDRASSURVEYEDEQBTRUE 99999 99999
99999EXIT


Notes #

Click to create a new notes page