!!!EXAMPLES OF PRO ACTIVE WORKFLOW

!!An employee’s student contact will be turning 25 years old next month.
!IMWA

;[Action| EVENT_CODE ]: OE STUDENT 2 OLD
;[Status|EVENT_STATUS  ]: In Production
;[Triggered in Product|WORKFLOW PRODUCTS]: WF_ECT
;[Action Directed To|EVENT_RECIPIENT_TYPE ]: Specific Employment

;[Type| EVENT_MEDIA]: Email
;[Type Reference| MEDIA_NAME ]: Admin@highlinecorp.com

;[Description |DESCRIPTION  ]: An Employee's student has reasched the maximum age

!IMWC

;[Data Source|DATA_SOURCE_NAME]: P2K_HR_CONTACTS
;[Where Clause|WHERE_CLAUSE_CODE]:OE STUDENT 2 OLD
;[Usage|WHERE_CLAUSE_USAGE]:User Defined
;[Description|DESCRIPTION]: Student turning 25 next month

||[Type|CONDITION_TYPE]  || [Predefined|PREDEFINED_CONDITION_CODE]|| [Column Name|COLUMN_NAME]||[Operator|COMPARISON_OPERATOR]||[Value|VALUE]||Format Symbols
|Ad Hoc|  |BIRTH_DATE|Is Not Null | |
|Ad Hoc|  |BIRTH_DATE|Formatted Equals|<<AS_OF_DATE>>+1M-25y |MMyyyy
|Ad Hoc|  |STUDENT_INDICATOR|Is Not Null| |

!IMUC

;[User Calc|USER_CALC_CODE]: WF_OE_STUD_2_OLD
;[Description|DESCRIPTION]:Email to Admin that a Student recipient is turing 25
;[Product|PRODUCT_CODE]:WF_ECT
;[User Calc Type|USER_CALC_TYPE]:Calculation
;[Return Value|RETURN_VALUE_TYPE]: Char
;[Usage|USER_CALC_USAGE]:Pro-Active WF


||[Line|COMMAND_LINE]||[CMD|COMMAND_CODE]||[Type 1|OPERAND1_TYPE]||[Operand 1|OPERAND1_LK]||[OPER|OPERATOR_CODE]||[Type^2|OPERAND2_TYPE]||[Operand 2|OPERAND2_LK]||[Type^3|OPERAND3_TYPE]||[Operand 3|OPERAND3_LK]||[If Goto|GOTO_LINE]||[Else Goto|ELSE_LINE]||[Description]
|10|ACT|AC|OE STUDENT 2 OLD|LOG|$S|AS-OF-DATE|RT|42032|99999| |<<EID.FIRST_NAME>> <<EID.FIRST_NAME>> student child recipient, <<ECT.FIRST_NAME>> <<ECT.LAST_NAME>>, is turning 25 next month. The Student will surpass the maximum student age defined for the benefit.
|99999|EXIT| | | | | | | | | |
-----
!!Remind employees the Open Enrollment period will be closing in a week’s time. 

!IMWA
;[Action| EVENT_CODE ]:OE REMINDER
;[Status|EVENT_STATUS  ]: In Production
;[Triggered in Product|WORKFLOW PRODUCTS]: WF_BOEE
;[Action Directed To|EVENT_RECIPIENT_TYPE ]: Employee

;[Type| EVENT_MEDIA]: Email
;[Type Reference| MEDIA_NAME ]: Admin@highlinecorp.com

;[Description |DESCRIPTION  ]: Reminder that OE Period is closing in 1 week

!IMWC
;[Data Source|DATA_SOURCE_NAME]: P2K_BE_OPEN_ENROLLMENT_EES
;[Where Clause|WHERE_CLAUSE_CODE]:OE REMINDER
;[Usage|WHERE_CLAUSE_USAGE]:User Defined
;[Description|DESCRIPTION]: Reminder to EEs that OE period is closing in 1 wk

||[Type|CONDITION_TYPE]  || [Predefined|PREDEFINED_CONDITION_CODE]|| [Column Name|COLUMN_NAME]||[Operator|COMPARISON_OPERATOR]||[Value|VALUE]||Format Symbols
|Ad Hoc| |BOE_ID.ELECTION_CLOSE_DATE|Formatted Equals|<<AS_OF_DATE>>+7|ddMMyyyy
|Ad Hoc| |ELECTION_STAGE|Is Not Null|01|

!IMUC

;[User Calc|USER_CALC_CODE]: WF_OE_REMINDER
;[Description|DESCRIPTION]:Email reminder that OE Close Date 1 wk away
;[Product|PRODUCT_CODE]:WF_BOEE
;[User Calc Type|USER_CALC_TYPE]:Calculation
;[Return Value|RETURN_VALUE_TYPE]: Char
;[Usage|USER_CALC_USAGE]:Pro-Active WF

||[Line|COMMAND_LINE]||[CMD|COMMAND_CODE]||[Type 1|OPERAND1_TYPE]||[Operand 1|OPERAND1_LK]||[OPER|OPERATOR_CODE]||[Type^2|OPERAND2_TYPE]||[Operand 2|OPERAND2_LK]||[Type^3|OPERAND3_TYPE]||[Operand 3|OPERAND3_LK]||[If Goto|GOTO_LINE]||[Else Goto|ELSE_LINE]||[Description]
|10|ACT|AC|OE REMINDER|LOG|$S|CURRENT-DATE|RT|Employee|99999| |<<EID.FIRST_NAME>> <<EID.LAST_NAME>>.  <<BR>> This is a reminder that the benefit open enrollment period will be closing on <<BOE.ELECTION_CLOSE_DATE>>. Please ensure that you make your election decisions and submit your choices on or before that date. 
|99999|EXIT| | | | | | | |  | |