working with new ProcessFlow forms in LSF 9.0

 5 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
Paul Gallucci
Basic Member
Posts: 15
Basic Member

    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

    Terry P
    Veteran Member
    Posts: 234
    Veteran Member
      I have not confirmed since I'm not on 9.0 yet, but I heard you can still call the WFxxx forms.
      John Henley
      Posts: 3353
        The WF forms no longer exist. Just the tables.
        Thanks for using the LawsonGuru.com forums!
        John
        Gary Davies
        Veteran Member
        Posts: 248
        Veteran Member

          You call the new forms using WebRun like such:

          Web Program: bpm/queueForm.do

          Parameter: method=Change&workUnit=&processId=&activityId=&timeOutHour=:

          David Williams
          Veteran Member
          Posts: 1127
          Veteran Member
            Maybe these will help:
            http://consultdavidw.blog...-processflow-9x.html
            http://consultdavidw.blog...inbasket-action.html

            Add these into a ProcessFlow WebRun and view the http call that this makes.
            David Williams
            Gary Davies
            Veteran Member
            Posts: 248
            Veteran Member

              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