USER PROCEDURES

USER PROCEDURES/WIZARDS#

A procedure is a type of user definable function that links together two or more system functions into a business procedure. The procedure can take you through a sequence of the various screens and/or reports required to complete a task.

Procedures are invoked through the command line. You must have execution rights before you are able to run them.

A Procedure Wizard provides a container for the procedure and controls the flow between the procedure steps. A side bar lists each of the functions that are part of the procedure, in the order they should be executed.

The flow takes you through each step in order; however, you are able to step outside the normal flow if you wish to correct something or you want to skip steps. Mandatory steps cannot be skipped.

In Admin, you may be in the middle of a procedure and switch to another form, change and save data without affecting the status of the procedure. You can continue the procedure where you left off when you are ready.

When you are finished entering data into a procedure screen, clicking ‘Next’ will commit the changes to the database and will navigate the user to the next sequential step in the procedure. Clicking ‘Finish’ will complete the procedure and will close it out.

Typically, complex processes like enrolling employees into benefit plans, multiple record changes like getting married, or post-hire processes are good candidates for definition as a procedure.

For examples of procedures see the page titled Procedure Examples.

How to Define User Procedures#

There are a couple of screens that require set up in order for a procedure to be fully defined.

Step 1 - Maintain Functions IMFN#

User procedures are first defined on the Maintain Functions (IMFN) screen.

Step 2 - Define User Procedures IMPC#

The second step in creating the procedure is going to the Define User Procedures (IMPC) screen where you can link together two or more system functions to complete the task.

The procedure form is divided into two parts: a "header" component that defines general aspects of the procedure and the "procedure steps" component that defines the individual functions that make up the procedure. The information entered for the function created in step 1 will show in the header portion of the screen.

The preference is to have two kinds of procedures; all steps have find blocks or all steps use a header. However, this would be difficult to do for some screens. It is more aesthetically pleasing when the header doesn't change and resize between steps, adding consistency to the procedure. In short, users can mix steps, but they shouldn't abuse it; only mix headers and find blocks when necessary.

Users can define a procedure with a mix of steps with and without find blocks however the following should be adhered to:

Header Setup Part One Tab
All procedures must be tied to the P2K_AM_EXECUTIONS table in IMFD under Table Usages. The where clause 'NEW MEX ID ONLY' should also be tied to the table.

Full CRUD capability should be granted to the procedure.

Header Setup Part Two Tab
A dynamic header can be created for the procedure which will show the current subject when having a Find Block is impossible due to the fact that the user is creating new data, for example a New Hire procedure.

If defined, the header will be hidden on the first step of the procedure.

The header is based on the CONTEXT message of the subject table. Context messages are found in IMMS and are defined for a variety of tables. If the subject table was P2K_HR_EMPLOYMENTS, then the message with message_code ‘EEM_CONTEXT’ would provide the template for the header information.

A form group called 'HEADER' should be added to the form layout as a text item. The item 'MEX.DRV_SUBJECT_CONTEXT' should then be tied to the HEADER form group.

Executing the Procedure#

1. In the Command line, enter in the procedure name. (i.e. NEW_HIRE)
2. The first screen will automatically be brought up

Suspending a Procedure#

If the user clicks on the 'Finish' button before completing all steps in the procedure, they will be prompted with a dialog to Suspend their procedure to complete it at a later time. If they choose 'SUSPEND', a message indicating that their progress was saved successfully and the procedure can be re-launched at any time from their Outstanding Workflow Tasks.

To re-launch the procedure, the User can navigate to the IMUWFL screen in Admin or to the WEETSK_SPLASH in Self Service, and choose to launch the Procedure, just as they would any other Workflow form. The procedure wizard should open to the last step they were on, with the correct subject in focus on the form, as well as the Header (if one exists). The Navigation check list on the left-hand-side should indicate the steps already completed.


Notes#

Click to create a new notes page