Show TOC

 3.5 Defining the Form Is Edited Again by Author Workflow Step in Detail

Use

In this lesson, you set up the Form is Edited Again by Author workflow step for processing in your workflow template.

Procedure

The details of the Form Is Edited Again by Author workflow step appear when you double-click on the step in the Graphical Model .

To change the description of the step, choose the Control tab page and overwrite the description defined by the system with the following text:

Edit relocation form again (employee)

On the Control tab page, set the agent determination. Enter the workflow initiator for the test phase. For more information, see the Defining the Edit Form Workflow Step in Detail for the HR Administrator lesson.

To define the data flow between the workflow step container and the workflow container, choose the Data Flow (Existing) pushbutton on the Control tab page.

The Change Data Flow for Step dialog box appears. In the Data Flow: 'Relocation' Workflow Step ’Form Is Edited Again by Author’ area, do the following:

Set the Save Draft pushbutton to visible.

Overwrite the entry &SAVE_DRAFT_BUTTON_VISIBLE& in the 'Relocation' Workflow column with the value X

This setting allows users to store changes they have entered temporarily if, for example, they have to interrupt working on the form.

For more information about entering constants, see the Defining the Edit Form Workflow Step in Detail for the HR Administrator lesson (see above).

Enter the form scenario step.

In the 'Relocation' Workflow column, overwrite the &FORM_SCENARIO_STAGE& element withFSS_1

This form scenario step is also used for starting the process. You use the same form scenario step here because this workflow step sends the form back to the user who started the process.

The data flow for the element FORM must not be changed. The task container receives the relevant value from the workflow container. For more information, see the Determining the Form Scenario in the Workflow Container lesson.

Choose Exit Data Flow Editor .

Determine the programming exit for the workflow step.

On the Programming Exits tab page, enter the class CL_HRASR00_POBJ_WF_EXIT

Choose Transfer and Go to Graphic

Save and activate your workflow template.

Result

Your workflow template now looks like the following graphic:

The first process step in which the employee starts the process is outside of the workflow and is therefore not represented in this graphic. The Edit Relocation Form (Superior) step that the graphic shows as the first step is the second step of the process.

See also:

Standard Task TS17900102: Form Is Edited Again by Author