This page (revision-31) was last changed on 26-Nov-2021 10:22 by JEscott

This page was created on 26-Nov-2021 10:22 by JMyers

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
31 26-Nov-2021 10:22 11 KB JEscott to previous
30 26-Nov-2021 10:22 11 KB JEscott to previous | to last
29 26-Nov-2021 10:22 11 KB RForbes to previous | to last
28 26-Nov-2021 10:22 11 KB JEscott to previous | to last DEFINE_WF_USERCALC ==> DEFINE WF USERCALC
27 26-Nov-2021 10:22 11 KB JEscott to previous | to last
26 26-Nov-2021 10:22 11 KB JEscott to previous | to last
25 26-Nov-2021 10:22 11 KB JEscott to previous | to last
24 26-Nov-2021 10:22 11 KB JEscott to previous | to last
23 26-Nov-2021 10:22 11 KB JEscott to previous | to last
22 26-Nov-2021 10:22 11 KB JMyers to previous | to last
21 26-Nov-2021 10:22 11 KB JMyers to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 10 changed one line
The Define UserCalcs [(IMUC)] screen is where all of the coding is done for each UserCalc.
The Define UserCalcs [(IMUC)] screen is where all of the coding is done for each UserCalc.\\ \\
[wf_4-1.jpg]\\ \\
At line 16 added one line
[wf_4-2.jpg]
At line 16 removed one line
At line 19 changed one line
;[Description|DESCRIPTION]:The description field may be used to further define the purpose of the UserCalc in more detail than is available in the UserCalc name.
;[Description|DESCRIPTION]:
The description field may be used to further define the purpose of the UserCalc in more detail than is available in the UserCalc name.
At line 21 changed one line
;[Product|PRODUCT_CODE]:The product indicates which module the UserCalc has been defined for. For example, PR-Payroll, BE-Benefits, AT- Attendance, FC-Forecasting & Costing and WF-Workflow.%%information With respect to Workflow, this field specifies the table code on which the workflow trigger is located. This field should be identical to the name of the "Table" in IMWA. In all cases except workflow, it is the application that controls which fields in which tables will be accessible by the UserCalc. For example, in an Attendance UserCalc, the Leave Accrual Table would be accessible, but not benefits information.%%
;[Product|PRODUCT_CODE]:
The product indicates which module the UserCalc has been defined for. For example, PR-Payroll, BE-Benefits, AT- Attendance, FC-Forecasting & Costing and WF-Workflow.%%information With respect to Workflow, this field specifies the table code on which the workflow trigger is located. This field should be identical to the name of the "Table" in IMWA. In all cases except workflow, it is the application that controls which fields in which tables will be accessible by the UserCalc. For example, in an Attendance UserCalc, the Leave Accrual Table would be accessible, but not benefits information.%%
At line 23 changed one line
;[Status|USER_CALC_STATUS]:This field describes the status of the UserCalc. The following values are available.
;[Status|STATUS]:This field describes the status of the UserCalc. The following values are available.
At line 26 changed one line
|To Be Published|This status value indicates that the UserCalc is ready for publishing. You can not set the UserCalc to this value manually.
|To Be Published|This status value indicates that the UserCalc is ready for publishing. You can not set the user calc to this value manually.
At line 30 changed 2 lines
;[Type|USER_CALC_TYPE]:This field defines what values may be passed or used between UserCalcs and what capabilities may be performed. There are three types available:
|Calculations|These are used by the main program and may call Qualifiers and Functions in order to perform a customized action or operation. The [Payroll|MODULE-PR], [Forecasting & Costing|MODULE-FC] and [Workflow|MODULE-WF] modules exclusively use calculations.
;[Type|TYPE]:This field defines what values may be passed or used between UserCalcs and what capabilities may be performed. There are three types available:
|Calculations|These are used by the main program and may call Qualifiers and Functions in order to perform a customized action or operation. The Payroll, Forecasting & Costing and Workflow modules exclusively use calculations.
At line 33 changed one line
|Functions|These are used to perform a calculation or query and return a value to the calculation. The [Benefits|MODULE-BE] and [Attendance|MODULE-AT] modules exclusively use functions.
|Functions|These are used to perform a calculation or query and return a value to the calculation. The Benefits and Attendance modules exclusively use "Functions".
At line 35 changed one line
;[Return Value|RETURN_VALUE_TYPE]:The "Return Value" is used by functions and qualifiers to define what type of value will be returned by the Function or Qualifier UserCalc.;:If the UserCalc type is set to 'Calculation', then no return value is indicated. This field will automatically be grayed out once this type has been selected and the cursor has been tabbed to the next field.;:Since Workflow UserCalcs are always of the type "Calculation", they will not return a value.
;[Return Value|RETURN_VALUE_TYPE]:The "Return Value" is used by Functions and Qualifiers to define what type of value will be returned by the Function or Qualifier UserCalc.;:If the UserCalc type is set to Calculation, then no return value is indicated. This field will automatically be grayed out once this type has been selected and the cursor has been tabbed to the next field.;:Since Workflow UserCalcs are always of the type "Calculation", they will not return a value.
At line 37 changed one line
;[Usage|USER_CALC_USAGE]:This field provides additional definition to how/when this UserCalc should function. There are four entries to select from:
;[Usage|]:This field is optional but can add additional definition to how/when this UserCalc should function. There are three entries to select from:
At line 39 changed 3 lines
|Disbursement Message|Not used for workflows - see [UserCalc|USERCALC] for more details on this usage.
|Secondary WF|This option tells the workflow engine that this UserCalc is ONLY to be called from another UserCalc and should NOT be fired on its own by the triggering product.
|Pro-Active WF| If the user calc is used for Pro-Active Workflow, then this must be selected. Using this selection will allow the [UMPWF] to execute the user calc.
|Disbursement Message|Not used for Work Flows - see [UserCalc|MODULE-UC] for more details on this usage.
|Secondary WF|This option tells the Work Flow engine that this UserCalc is ONLY to be called from another UserCalc and should NOT be fired on its own by the triggering product.
At line 43 changed one line
;[Compile UserCalc SQL|ACT_COMPILE_USER_CALC]:This button allows the user to check the syntax of a UserCalc by generating the PL/SQL code that is used behind the scenes.:;This step does not ensure accuracy of the UserCalc. It merely checks that there are no UserCalc language errors such as incorrect syntax or infinite loops.
;[Compile UserCalc SQL|]:This button allows the user to check the syntax of a UserCalc by generating the PL/SQL code that is used behind the scenes.:;This step does not ensure accuracy of the UserCalc. It merely checks that there are no UserCalc language errors such as incorrect syntax or infinite loops.
At line 45 changed one line
;[Publish UserCalc|ACT_PUBLISH_UC_IMUC]:This button preps the UserCalc for Publishing and sets the status as "To Be Published".
;[Publish UserCalc|]:This button preps the UserCalc for Publishing and sets the status as "To Be Published".
At line 47 removed one line
----
At line 53 added one line
[wf_4-3.jpg]
At line 53 removed one line
At line 57 changed one line
;:(Line 200 must also exist in this example)
(Line 200 must also exist in this example)
At line 59 changed one line
;:It is useful to increment line numbers to the next 100 or 1000 at the start of each section of logic. This will make your UserCalc easier to read and maintain by future users.
It is useful to increment line numbers to the next 100 or 1000 at the start of each section of logic. This will make your UserCalc easier to read and maintain by future users.
At line 61 changed 2 lines
;[CMD|]:Commands are used to perform operations within a UserCalc.%%information Please refer to the [User Calculations|USERCALC] section for a detailed description of the existing commands available.%%
;:There are two commands that are available and strictly used for workflow. These are: ACT and STOP.
;[CMD|]:Commands are used to perform operations within a UserCalc.
%%information Please refer to the User Calculations manual for a detailed description of the existing commands available.%%
At line 65 added 2 lines
There are two commands that are available and strictly used for Workflow. These are: ACT and STOP.
At line 67 changed one line
;:The ACT command is unique in that once it has been selected Type 1, OPER and Type 3 fields are defaulted with the values AC, LOG, and RT respectively.
The ACT command is unique in that once it has been selected Type 1, OPER and Type 3 fields are defaulted with the values AC, LOG, and RT respectively, as indicated in the diagram below.
At line 72 added one line
[wf_4-4.jpg]
At line 70 changed one line
;[Type 1 (Operand Type 1)|]:Operands must have a type. For example, DB, AC, V, etc…%%information Please refer to the [User Calculations|USERCALC] section for a detailed description of the existing operand types available.%%
;[Type 1 (Operand Type 1)|]:Operands must have a type. For example, DB, AC, V, etc…
At line 72 changed one line
;:The following table indicates five special operand types that are available for workflow.
%%information Please refer to the User Calculations manual for a detailed description of the existing operand types available.%%
At line 74 changed 2 lines
|Old Value (OV)| This refers to the Old Value of the item being referenced in the operand.
|New Value (NV)| This refers to the New Value of the item being referenced in the operand.
The following table indicates five special operand types that are available for workflow.
|Old Value (OV)| This refers to the Old Value of the item being referenced in the Operand.
|New Value (NV)| This refers to the New Value of the item being referenced in the Operand.
At line 86 changed one line
;:In the case were the CMD is ACT, Operand1 displays the name of the workflow action event that was created in [IMWA].
In the case were the CMD is ACT, Operand1 displays the name of the workflow action event that was created in [IMWA].
At line 88 changed one line
;:Clicking on the "Operand 1" LOV button will bring up a list from which a selection can be made.
Clicking on the "Operand 1" LOV button will bring up a list from which a selection can be made.
At line 90 changed 4 lines
;[OPER|]:Operators are the actions that need to be taken in regards to the command being issued and the operands indicated.
;:i.e. Add, Divide, convert to a Character, Beginning of Day, etc. %%information Please refer to the [User Calculations|USERCALC] section for a detailed description of the existing operators that are available.%%
;:The LOG Operator is a new operator that is available strictly for Workflow and ONLY for the ACT CMD; it is used to log the workflow action event.
;:When the "ACT" command is selected this value automatically defaults into this field.
;[OPER|]:Operators are the actions that need to be taken in regards to the command being issued and the operands indicated.:;i.e. Add, Divide, convert to a Character, Beginning of Day, etc. %%information Please refer to the User Calculations manual for a detailed description of the existing operators that are available.%% :;The LOG Operator is a new operator that is available strictly for Workflow and ONLY for the ACT CMD; it is used to log the workflow action event. :;When the "ACT" command is selected this value automatically defaults into this field.
At line 95 changed one line
;[Type 2 (Operand Type 2)|]:In most cases, when the "ACT" command is selected, this field will need to refer to an operand type that references a constant. Typically the operand type used is $S - System Constant.%%information Please refer to the [User Calculations|USERCALC] section for a detailed description of the existing operand types that are available.%%
;[Type 2 (Operand Type 2)|]:
%%information Please refer to the User Calculations manual for a detailed description of the existing operand types that are available.%%
In most cases, when the "ACT" command is selected, this field will need to refer to an operand type that references a constant. Typically the operand type used is $S - System Constant.
At line 102 added 3 lines
;[Operand 2|]:Operand 2 is used to compare values or assign values.
%%information Please refer to the User Calculations manual for a detailed description of the existing operands that are available.%%
With respect to the ACT CMD, this field will hold a date value. Once the value in Type 2 has been entered, click on the Operand 2 LOV button to obtain a list of values to choose from.
At line 98 changed 2 lines
;[Operand 2|]:Operand 2 is used to compare values or assign values.%%information Please refer to the [User Calculations|USERCALC] section for a detailed description of the existing operands that are available.%%
;:With respect to the ACT CMD, this field will hold a date value. Once the value in Type 2 has been entered, click on the Operand 2 LOV button to obtain a list of values to choose from.
;[Type 3|]:
%%information:Please refer to [User Calculations|Module-UC] for a detailed description of the existing operand types that are available.%%
At line 101 changed one line
;[Type 3|]:When the "ACT" command is selected, "RT" will always default in. RT refers to 'Recipient Type'.%%information Please refer to [User Calculations|USERCALC] for a detailed description of the existing operand types that are available.%%
When the "ACT" command is selected, "RT" will always default in. RT refers to 'Recipient Type'.
At line 103 changed one line
;[Operand 3|]:This field indicates the recipient who is to receive this workflow action event.%%information Please refer to the [User Calculations|USERCALC] section for a detailed description of the existing operands that are available.%%
;[Operand 3|]:%%information Please refer to the User Calculations manual for a detailed description of the existing operands that are available.%%
This field indicates the recipient who is to receive this workflow action event.
Depending on what event recipient is selected in IMWA a list of values is available once the Operand3 button is clicked.
At line 105 changed one line
;:Depending on what event recipient is selected in [IMWA] a list of values is available once the Operand3 button is clicked.
If GOTO
Please refer to the User Calculations manual for a detailed explanation. The two new workflow commands ACT and STOP require an "If GOTO" value to be indicated.
At line 107 changed one line
;[If GOTO|]:Please refer to the [User Calculations|USERCALC] section for a detailed explanation. The two new workflow commands ACT and STOP require an "If GOTO" value to be indicated.
Else GOTO
Please refer to the User Calculations manual for a detailed explanation. The two new workflow commands ACT and STOP do NOT take an "Else GOTO" value.
At line 109 changed one line
;[Else GOTO|]:Please refer to the [User Calculations|USERCALC] section for a detailed explanation. The two new workflow commands ACT and STOP do NOT take an "Else GOTO" value.
Description
This is the area where the user will write the messages to be used in the Workflow Action Events (i.e. emails or online messages).
At line 111 changed one line
;[Description|DESCRIPTION]:This is the area where the user will write the messages to be used in the Workflow Action Events (i.e. emails or online messages).
In the example above, the UserCalc calls the workflow action "NEW EE EMAIL" at line 200. This action has been set up to notify a manager, via email of a new hire (done in IMWA). The actual content of the email is taken from the 'Description' section.
At line 113 changed one line
;:In the example above, the UserCalc calls the workflow action "NEW EE EMAIL" at line 200. This action has been set up to notify a manager, via email of a new hire (done in [IMWA]). The actual content of the email is taken from the 'Description' section.
This text is customizable.
At line 115 changed one line
;:This text is customizable.
In this example, the employee's name, hire date and Assignment title are stated in the email sent to the manager. This information is referenced (within double brackets << >>) in the notes section. The field is built with the table alias and column name. Note that it must be a table that is accessible via either the NV/OV or DB Types. The email from the example above that is received by the manager will look similar to:\\ \\
At line 117 changed 6 lines
;:In this example, the employee's name, hire date and Assignment title are stated in the email sent to the manager. This information is referenced (within double brackets << >>) in the notes section. The field is built with the table alias and column name.%%information Note that it must be a table that is accessible via either the NV/OV or DB Types.%% The email from the example above that is received by the manager will look similar to:\\
;: … This e-mail notification has been sent to you from the Human Resources system, to inform you that Jack Smith has joined our organization. Jack is scheduled to begin work on 01-Feb-2007 as a Patient Care Manager.…\\
;:The following items are examples of what can be referenced in the Description; they MUST be referenced as follows: \\
;:<<eid.first_name>> - states the employee's first name \\
;:<<eid.last_name>> - states the employee's last name \\
;:<<eem.hire_date>> - states the employee's hire date
… This e-mail notification has been sent to you from the Human Resources system, to inform you that Jack Smith has joined our organization. Jack is scheduled to begin work on 01-Feb-2007 as a Patient Care Manager.…\\ \\
The following items are examples of what can be referenced in the Description; they MUST be referenced as follows: \\
<<eid.first_name>> - states the employee's first name \\
<<eid.last_name>> - states the employee's last name \\
<<eem.hire_date>> - states the employee's hire date
At line 125 removed 5 lines
----
![Notes|Edit:Internal.DEFINE+WF+USERCALC]
[{InsertPage page='Internal.DEFINE+WF+USERCALC' default='Click to create a new notes page'}]