![]() Previous |
![]() Next |
This function is used to retrieve any remaining follow up associated with a specific feedback.
Syntax
APEX_UTIL.GET_FEEDBACK_FOLLOW_UP (
p_feedback_id IN NUMBER,
p_row IN NUMBER DEFAULT 1,
p_template IN VARCHAR2 DEFAULT '<br />#CREATED_ON# (#CREATED_BY#) #FOLLOW_UP#')
RETURN VARCHAR2;
Parameters
Table: GET_FEEDBACK_FOLLOW_UP Parameters describes the parameters available in GET_FEEDBACK_FOLLOW_UP function.
GET_FEEDBACK_FOLLOW_UP Parameters
| Parameter | Description |
|---|---|
|
|
The unique identifier of the feedback item. |
|
|
Identifies which followup to retrieve and is ordered by created_on_desc. |
|
|
The template to use to return the follow up. Given the <br/> in the default template, the function can be used in a loop to return all the follow up to a feedback. |
Example
The following example displays all the remaining followup for feedback with the ID of 123.
declare
l_feedback_count number;
begin
select count(*)
into l_feedback_count
from apex_team_feedback_followup
where feedback_id = 123;
for i in 1..l_feedback_count loop
htp.p(apex_util.get_feedback_follow_up (
p_feedback_id => 123,
p_row => i,
p_template => '<br />#FOLLOW_UP# was created on #CREATED_ON# by #CREATED_BY#') );
end loop;
end;
/