Needed a capability to have Assessments created based on Courses and Class Registrations.

Created 2 WF custom functions (P2K_CF_TDRASTESTED, P2K_CF_TDRASSURVEYED) for WF_CRSE to create assessments based on the course setup, 1 for the Tested entry and 1 for the Surveyed entry. 

You control the firing of it; what statuses, etc. in a WF usercalc. 

It will insert an Assessment Event tied to the persons candidate record for the current date/time with the 03 - planned/confirmed status. The Assessment Event Text will come from the Assessment Text. 

Set Up:Has to be setup in IMUC to be used.

Sample

||Line||CMD||Type 1||Operand 1||OPER||Type 2||Operand 2||Type 3||Operand 3||If GOTO||Else GOTO 
|10|IF|NV|REGISTRATION_STATUS|NE|OV|REGISTRATION_STATUS|   |   |20|99999
|20|IF|NV|REGISTRATION_STATUS|EQ|A|50|   |   |30|99999
|30|IF|CF|P2K_CF_TDRASTESTED|EQ|A|TRUE|   |   |40|40
|40|IF|CF|REGISTRATION_STATUS|EQ|A|TRUE|   |   |20|99999
|99999|EXIT

----
![Notes|Edit:Internal.ASSESSMENT_CODE_TESTED] 	
[{InsertPage page='Internal.ASSESSMENT_CODE_TESTED' default='Click to create a new notes page'}]