Tuesday, October 24, 2017

To Get Administration URL for a Oracle Workflow

DECLARE
   url_l       VARCHAR2 (1000);
   l_agent   VARCHAR2 (2000) := NULL;
BEGIN
   l_agent := WF_CORE.TRANSLATE ('WF_WEB_AGENT');
   url_l :=
      wf_monitor.getEnvelopeUrl (x_agent        => l_agent,
                                                     x_item_type    => UPPER ('XXTSTWF'),
                                                     x_item_key     => '100010',
                                                     x_admin_mode   => 'YES'
                                                   );
   DBMS_OUTPUT.put_line (url_l);
END;


select * from wf_item_types
where name ='XXTSTWF'

select * from WF_ITEM_ACTIVITY_STATUSES
where item_type = 'XXTSTWF'

No comments:

Post a Comment

SupplierAddressImportTemplate.xlsm South Africa Suburb Field mapping in POZ_SUPPLIER_ADDRESSES_INT

Suburb mpping in Supplier Address Import Template will be mapped to Address Element Attribute2 (HZ_LOCATIONS. ADDR_ELEMENT_ATTRIBUTE2)