312:
313: wfa_html.create_help_function('wf/links/wfm.htm?WFMON');
314: htp.p('');
315:
316: -- Open body and draw standard header
317: wfa_sec.header(FALSE, 'wf_monitor.find_instance" TARGET="_top',
318: wf_core.translate('WFMON_VIEW_DIAGRAM'), TRUE, pseudo_login);
319:
320: if (l_installType = 'EMBEDDED') then
1877: ** x_column_title_not_adv= What is the display text for the column header
1878: ** when youre not in advanced mode (Done vs Status)
1879: ** x_show_when_not_adv = Do you display this column if youre not in
1880: ** advanced mode (Parent_activity)
1881: ** x_standard_url = The fixed set of parameters for the envelope
1882: ** routine
1883: */
1884: procedure createenvsortlink (
1885:
1889: x_advanced VARCHAR2,
1890: x_column_title VARCHAR2,
1891: x_column_title_not_adv VARCHAR2,
1892: x_show_when_not_adv BOOLEAN,
1893: x_standard_url VARCHAR2) IS
1894:
1895: BEGIN
1896:
1897: /*
2020: x_nls_lang varchar2)
2021:
2022: is
2023:
2024: x_standard_url VARCHAR2(2000);
2025:
2026: begin
2027:
2028: /*
2029: ** Create the fixed set of parameters for the envelope
2030: ** routine that gets passed anywhere you create an
2031: ** envelope url
2032: */
2033: x_standard_url := owa_util.get_owa_service_path||
2034: 'wf_monitor.envelope'||
2035: '?x_item_type='||wfa_html.conv_special_url_chars(x_item_type)||
2036: '&x_item_key='||wfa_html.conv_special_url_chars(x_item_key)||
2037: '&x_admin_mode='||x_admin_mode||
2060: x_advanced,
2061: wf_core.translate('WFMON_STATUS'),
2062: wf_core.translate('WFMON_DONE'),
2063: TRUE,
2064: x_standard_url);
2065:
2066: /*
2067: ** Create the WHO column header
2068: */
2072: x_advanced,
2073: wf_core.translate('WFMON_WHO'),
2074: wf_core.translate('WFMON_WHO'),
2075: TRUE,
2076: x_standard_url);
2077:
2078: /*
2079: ** Create the PARENT activity column header depending on whether
2080: ** you're in advanced mode or not
2085: x_advanced,
2086: wf_core.translate('WFMON_PARENT_ACTIVITY'),
2087: NULL,
2088: FALSE,
2089: x_standard_url);
2090:
2091: /*
2092: ** Create the ACTIVITY column header
2093: */
2097: x_advanced,
2098: wf_core.translate('WFMON_ACTIVITY'),
2099: wf_core.translate('WFMON_ACTIVITY'),
2100: TRUE,
2101: x_standard_url);
2102:
2103: /*
2104: ** Create the STARTDATE column header
2105: */
2109: x_advanced,
2110: wf_core.translate('WFMON_STARTED'),
2111: wf_core.translate('WFMON_STARTED'),
2112: TRUE,
2113: x_standard_url);
2114:
2115: /*
2116: ** Create the DURATION column header
2117: */
2121: x_advanced,
2122: wf_core.translate('WFMON_DURATION'),
2123: wf_core.translate('WFMON_DURATION'),
2124: TRUE,
2125: x_standard_url);
2126:
2127: /*
2128: ** Create the RESULT column header
2129: */
2133: x_advanced,
2134: wf_core.translate('WFMON_RESULT'),
2135: wf_core.translate('WFMON_RESULT'),
2136: TRUE,
2137: x_standard_url);
2138:
2139: htp.tableRowClose;
2140:
2141: end showEnvColumnHeaders;
2372: htp.title(wf_core.translate('WFMON_LISTTITLE'));
2373: wfa_html.create_help_function('wf/links/pro.htm?PROLIST');
2374: htp.headClose;
2375:
2376: -- Open body and draw standard header
2377: wfa_sec.header(FALSE, 'wf_monitor.find_instance" TARGET="_top',
2378: wf_core.translate('WFMON_LISTTITLE'), TRUE);
2379:
2380: htp.tableOpen(cattributes=>'border=1 cellpadding=3 bgcolor=WHITE
2617: null,
2618: FALSE);
2619:
2620: /*
2621: ** Create the checkbox for Standard Workflow Functions
2622: */
2623: wf_item_definition_util_pub.create_checkbox(
2624: 'x_func_std',
2625: 'Y',
2623: wf_item_definition_util_pub.create_checkbox(
2624: 'x_func_std',
2625: 'Y',
2626: x_func_std,
2627: wf_core.translate('WFMON_FUNCTION_STANDARD'),
2628: null,
2629: FALSE);
2630:
2631:
2730: htp.headOpen;
2731:
2732: /*
2733: ** If you are not in advanced mode then make the window title the
2734: ** standard Notifications List. Otherwise make it Activities List
2735: */
2736: IF (x_advanced = 'FALSE') THEN
2737:
2738: htp.title(wf_core.translate('WFMON_ENVELOPE_LIST'));
2746: END IF;
2747:
2748: htp.headClose;
2749:
2750: -- Open body and draw standard header
2751: IF (x_advanced = 'FALSE') THEN
2752:
2753: wfa_sec.header(FALSE, 'wf_monitor.find_instance" TARGET="_top', wf_core.translate('WFMON_ENVELOPE_LIST'), TRUE, pseudo_login);
2754:
2832: htp.headOpen;
2833:
2834: /*
2835: ** If you are not in advanced mode then make the window title the
2836: ** standard Notifications List. Otherwise make it Activities List
2837: */
2838: htp.title(wf_core.translate('WFMON_ENVELOPE_LIST'));
2839:
2840: wfa_html.create_help_function('wf/links/nfl.htm?NFLIST');
3516:
3517: x_show_activity := TRUE;
3518:
3519: /*
3520: ** Check if you satisfy the show standard activities
3521: ** checkbox. If the checkbox is set then we should show all
3522: ** standard activities. We later check to see if the checkbox
3523: ** is not checked and eliminate all standard activities even if
3524: ** all the other criteria are met.
3518:
3519: /*
3520: ** Check if you satisfy the show standard activities
3521: ** checkbox. If the checkbox is set then we should show all
3522: ** standard activities. We later check to see if the checkbox
3523: ** is not checked and eliminate all standard activities even if
3524: ** all the other criteria are met.
3525: */
3526: ELSIF (x_activity_record.activity_item_type = 'WFSTD' AND
3519: /*
3520: ** Check if you satisfy the show standard activities
3521: ** checkbox. If the checkbox is set then we should show all
3522: ** standard activities. We later check to see if the checkbox
3523: ** is not checked and eliminate all standard activities even if
3524: ** all the other criteria are met.
3525: */
3526: ELSIF (x_activity_record.activity_item_type = 'WFSTD' AND
3527: x_func_std IS NOT NULL) THEN
3530:
3531: END IF;
3532:
3533: /*
3534: ** Check if you satisfy the show standard activities
3535: ** checkbox. If the checkbox is not set the don't show
3536: ** the activity under any circumstances.
3537: */
3538: IF (x_activity_record.activity_item_type = 'WFSTD' AND
3551:
3552: htp.tableRowOpen(calign=>'middle');
3553:
3554: /*
3555: ** If you are viewing the standard activity listing with the
3556: ** with the notifications with responses then use the DONE column
3557: ** to tell the user that this notification is completed or not.
3558: ** If you are viewing the Filtered Activity Listing then show the
3559: ** status of each activity rather than just if it's done or not
4075:
4076: wfa_sec.GetSession(username);
4077:
4078: /*
4079: ** Open body and draw standard header
4080: */
4081: wfa_sec.header;
4082:
4083: htp.p('
');