Show TOC Start of Content Area

Background documentation Managing Process Notifications Using the GP API  Locate the document in its SAP Library structure

 

The Guided Procedures (GP) Notification API provides notification support for the GP runtime process framework. Through this interface, you can retrieve and update dynamically the processing time and status of the notifications defined at process and activity level during design time.

Note

A process can have several notification instances. If at least one notification is defined, it must be a due date notification. The due date notification informs about the deadline imposed on the process. The additionally defined notifications usually precede the deadline.

The notification instance (IGPNotificationInstance) holds information about:

      The process and activity instances, to which it is related

      The notification itself (unique within an activity)

      Its version

      Its status

      The deadline imposed

For more information about creating deadlines and durations, see Creating Deadlines and Durations.

      Its creation date (timestamp of the creation of the instance)

      The date it was last modified, if any

      The processor of the notification

      Whether it is the due date notification or not

The notification instance enumeration (IGPNotificationInstanceEnumeration) is a listing of all existing versions of the notification instance, also known as notification history. You can directly retrieve its size and its last element.

To be able to update process notifications at runtime, you have to:

...

       1.      Instantiate the runtime and notification managers and retrieve the available notification instances of the relevant process.

For more information, see Retrieving Process Notification Instances.

       2.      Once you have access to existing notifications, you can update them or change their status.

For more information, see Updating Notification Processing Time and Status.

End of Content Area