Show TOC

Background documentationWorkflow Template WS17900404: Draft for Process Start

 

You can use this workflow template to trigger a workflow for a draft version in the start step of process for the process initiator.

This workflow is triggered only the first time you choose the Save Draft button in the start step of the process.

Workflow Template: 17900404

ID: ASRDRAFT

Name: Draft for Process Start

Standard Tasks Used

  • Standard Task: TS04000025: Get Status of Switch

    If the switch is on, you can use the new functions for SAP enhancement package 4 for SAP ERP 6.0. If the switch is off, these new functions are not available.

  • Standard Task: TS04000024: Get Application of Process

    If you choose an employee-related process, the application type is Personnel Administration (PA); you are brought to Draft for Process Start - task TS17900121.

    If you choose an organization-related process, the application type is Personnel Development (PD); you are brought to Draft for PD Process Start - task TS04000021.

  • Standard Task: TS17900121: Draft for Process Start

  • Standard Task: TS04000021: Draft for PD Process Start

Structure

Agent Assignment

If you activate the event linkage, the workflow for draft version is available for use.

Authorization Check

Make sure that the WF Batch user has the required authorizations:

  • Authorization object P_ASRCONT: The activity S (Start) is used for the authorization check.

  • The relevant Personnel Administration authorization objects, such as P_ORGIN to check authorizations.

For more information, see Authorization Concept of HCM Processes and Forms.

Process Control

If you want to use this workflow template in a workflow step of a workflow template, you have to define a binding for the mandatory container elements of the WS17900404 template. If you do not assign any values in the binding for the optional importing container elements, the system uses the default value.

When you define the binding, you have the following options:

  • You can specify the values directly in the binding of this workflow template.

  • You can assign the container element of the workflow template the value of the corresponding container element of the surrounding workflow template. In the latter case, you have to create the element in the same data type in the surrounding workflow container. For information about the data type, you can double-click the corresponding element of the sub-workflow.

Process

  1. Perform the activity Workflow: Draft for Process Start in Customizing for Personnel Management under Start of the navigation path HR Administrative Services Next navigation step Configuration of Forms/Processes Next navigation step Process Configuration Next navigation step Technical Settings Next navigation step Settings for Standard Components and Workflows Next navigation step Workflow: Draft for Process Start End of the navigation path.

    Choose Activate Event Linkage to link to event DRAFT_CREATED. Ensure status Activated is displayed for the workflow.

    This ensures that you can use this workflow in your processes.

  2. When you choose the Save Draft button in the start step of the process, a work item appears in the process initiator's worklist with any changes made before saving the draft. You can open this draft version from the work item and make further changes.

    If you choose Save Draft again, no separate work item is generated, but the changes you have made are updated in the original work item.

    When you choose Check and Send, the work item gets sent to the next agent in the process, and the draft work item is no longer found in the UWL.

  3. If you choose Delete Draft, the draft work item is deleted.