declare v_itemtype VARCHAR2(50); v_itemkey VARCHAR2(50); v_process VARCHAR2(50); v_userkey VARCHAR2(50); begin
Showing posts with label Workflows. Show all posts
Showing posts with label Workflows. Show all posts
Thursday, October 4, 2012
How to Launch Workflow from PL/SQL
Labels:
backend,
pl/sql,
workflow tools,
Workflows
Thursday, September 6, 2012
Query to check the line workflows assigned to an order type
exec MO_GLOBAL.SET_POLICY_CONTEXT('S',102);
SELECT OWA.order_type_id,
ol.name,
oe.meaning item_type_code,
wf.display_name line_flow
FROM wf_activities_vl wf,
oe_workflow_assignments OWA,
oe_line_types_v ol,
oe_lookups oe
WHERE OWA.line_type_id = ol.line_type_id
AND oe.lookup_type(+) = 'WF_ASSIGN_ITEM_TYPES'
AND oe.lookup_code(+) = OWA.item_type_code
AND wf.name = OWA.process_name
AND wf.item_type = 'OEOL'
AND wf.version =
(SELECT MAX (version)
FROM wf_activities_vl wf1
WHERE wf1.name = wf.name AND wf1.item_type = 'OEOL');
Query to check the workflow assigned to an order type
Query to check the workflow assigned to an order type
SELECT ot.order_type_id,
ot.name order_type_name,
ot.description,
ot.start_date_active,
Friday, August 31, 2012
Instance Migration Scripts - Workflows
-- Check Workflow Activity Status
SELECT COUNT (1)
IN ln_completed_lines
FROM wf_item_activity_statuses a,
wf_process_activities b,
oe_order_lines_all c
Labels:
wf_engine.Background,
Workflows
Subscribe to:
Posts (Atom)