50:
51: is
52: rootid number;
53: status varchar2(8);
54: onDemandFlag wf_activity_attributes.text_default%type;
55: begin
56: -- Check for refresh
57: if ((itemtype = wf_item.c_itemtype) and
58: (itemkey = wf_item.c_itemkey)) then
104: -- ondemand is true if the name process #ONDEMANDATTR attribute exist,
105: -- otherwise, it is false.
106: --
107: begin
108: select text_default into onDemandFlag from wf_activity_attributes
109: where activity_item_type = c_itemtype
110: and activity_name = c_root_activity
111: and activity_version=c_root_activity_version
112: and name = '#ONDEMANDATTR';
452:
453: rootversion number;
454: rootid number;
455:
456: onDemandFlag wf_activity_attributes.text_default%type;
457: --
458: status PLS_INTEGER;
459: wiaIND NUMBER;
460: wiavIND NUMBER;
507: --
508: --ondemand flag
509: --
510: begin
511: select text_default into onDemandFlag from wf_activity_attributes
512: where activity_item_type = c_itemtype
513: and activity_name = c_root_activity
514: and activity_version=c_root_activity_version
515: and name = '#ONDEMANDATTR';