| Previous | Next |  | Contents | Index | Glossary

## Respond

PL/SQL Syntax

`procedure RESPOND`

    (nid in number,

     respond_comment in varchar2 default null,

     responder in varchar2 default null);

Java Syntax

`public static boolean respond`

        (WFContext wCtx,

         BigDecimal nid,

         String comment,

         String responder)

Description

This procedure may be invoked by the notification agent (Notification Web page or e-mail agent) when the performer completes the response to the notification. The procedure marks the notification as 'CLOSED' and communicates RESPOND attributes back to the database via the callback function (if supplied).

This procedure also accepts the name of the individual that actually responded to the notification. This may be useful to know especially if the notification is assigned to a multi-user role. The information is stored in the RESPONDER column of the WF_NOTIFICATIONS table. The value stored in this column depends on how the user responds to the notification.

Response Mechanism | Value Stored
--- | ---
Web | Web login username
E-mail | E-mail username as displayed in the mail response

Arguments (input) | wCtxWorkflow context information. Required for the Java method only. See: Oracle Workflow Context.
nid | The notification id
comment | An optional comment on the response
responder | The user who responded to the notification.

| Previous | Next |  | Contents | Index | Glossary