How do you perform calls the the new ProcessFlow Work Unit forms, (the ones that replace the old LOGAN WFxx forms), via JavaScript in LSF 9.0 Design Studio?
For example; what woud a call to bpm/metricsSummaryForm.do look like? I've tried... var oHttpCall=httpRequest(bpm/metricsSummaryForm.do?method=Inquire&workUnit=232527&processId=232527&activityId=UA11304768702510) and var oHttpCall=httpRequest(http://--host.com--:12345/bpm/metricsSummaryForm.do?method=Inquire&workUnit=232527&processId=232527&activityId=UA11304768702510); I've used quotes and no quotes with the httpRequest string but always get the same error... Error sending event - portalpage_OnInit ERROR: TypeError Number: 5007 Message: Object expected Description: Object expected Function: PortalPage.eventSink File: pages/pages.js Version: blah blah blah
You call the new forms using WebRun like such:
Web Program: bpm/queueForm.do
Parameter: method=Change&workUnit=&processId=&activityId=&timeOutHour=:
Sorry, should have read your question, in Design Studio try this:
var ohttpCall = portalWnd.httpRequest(....)
You will have to parse the XML returned to ohttpCall to get your returned data.
Your example is a query, if you are only going to read and not update you can use a DME call to the LOGAN table instead, they still exist the same way they did in 8.0.3 in 9.0 (ie. the queue is WFQUEUE etc).
Gary Davies
www.automated-workflow.com