Entering content frameProcedure documentation Unit 18: Work Item Attachments Locate the document in its SAP Library structure

Use

The superior is to have the opportunity to add an attachment to their work item for checking the notification of absence. This attachment is a document (any SAPscript or PC document), which is then made available to all subsequent recipients in the workflow. The superior can use this to give a full explanation for a rejection.

An attachment can be added to a workflow before the workflow is actually executed in the Business Workplace.

To create an attachment after the workflow has been executed, you have to change the definition of the associated standard task.

To enable the superior to create an attachment after the notification of absence has been checked, you must set the Confirm end of processing flag for the task Check notification of absence. This property means that the agent has to confirm the end of processing of the work item explicitly. The agent can also add an attachment before this confirmation.

Procedure

Start the Workflow Builder and open your workflow definition in change mode. Proceed as described in Unit 7: Including "Check Notification of Absence" in the Workflow Definition.

Changing the task "check notification of absence"

  1. Open the step definition for the step Check notification of absence by double-clicking it.
  2. Double-click the task ID to open the task definition.
  3. You go to the Standard task: Display screen.

  4. Choose This graphic is explained in the accompanying text to switch to change mode.
  5. Set the Confirm end of processing flag under Execution.
  6. Choose This graphic is explained in the accompanying text and then This graphic is explained in the accompanying text.

Concluding the step definition

  1. Choose This graphic is explained in the accompanying text to check the step definition.
  2. Choose This graphic is explained in the accompanying text to exit the step definition.
  3. Choose This graphic is explained in the accompanying text.

The workflow definition is checked, saved, and, provided it does not contain any errors, activated. The system displays a message if problems are encountered during the test.

Result

Execution of the work item for the step Check notification of absence must be confirmed expressly. This enables you to create an attachment after the request has been approved or rejected.

Note

You can also create attachments while a work item is being executed. An example of this is provided in the demo workflows. Choose Tools ® Business Workflow ® Development ® Demo ® Start Demo Workflows. Start the demo workflow Demo for WI execution with WF toolbox. More information is provided on the right-hand side of the screen.

Leaving content frame