Custom Inbasket (Batch Approval)

Sort:
You are not authorized to post a reply.
Author
Messages
mel.catarroja
New Member
Posts: 2
New Member

    Hi to everyone, I am currently developing a Portal Page that will display a custom Inbasket.

    The reason why I am customizing the Inbasket is because the client wants to have the ability to approve "multiple" workunits in just one click. Imagine the standard inbasket where the workunits are listed with a checkbox on each WU. He can select as many as he wants in the display and click the approve button and it will automatically loop through each WU that is checked and approve the WU.

    I know this can be done via Design Studio Portal Page, but I am not sure if I am doing it the right way. So far this is what I am trying to do:

    I am trying to reuse the functions available in the inbasket. To retrieve the WUs that are in a user's inbasket, I turned on the debug mode in the portal and was able to capture this call to the server when the user clicks on task:

    /bpm/inbasket?RDUSER=<USERID>&TASK=<TASK>&FUNCTION=getwobs&STARTWUN=0&NBRWUNDS=10

    where:
    <USERID> = current user logged in
    <TASK> = Task

    it is retrieving the records. I just can't figure out how to get the value of the workunits from the xml file retrieved.

    I am not trying to complicate the approach, if somebody has done something similar or has a better solution, I am all ears.

    Thank you.
    mcissell
    Basic Member
    Posts: 7
    Basic Member

      did you have any luck with this?

      David Williams
      Veteran Member
      Posts: 1127
      Veteran Member
        As far as I can see this approach is feasible. A Portal Page listing open WorkUnits by user can be displayed via a DME with Checkboxes and the Approver can select the WorkUnits and click either an Approve or Reject button. When the script cycles through the checked items it should send an HTTP call to the Portal Inbasket:
        href="http://lawsonserver/bpm/inbasket?FUNCTION=dispatch&WORKUNIT=12345&TASK=Supervisor&APPRODLINE=PROD&RDUSER=DWilliams&PROCID=12345&PROCNAME=Req Approval&ACTID=UA19&ACTNAME=Supervisor&ACTION=Approve

        You will have to get the values for Task, Process ID (WorkUnit should pass over), Process Name, Activity ID and Activity Name.
        David Williams
        mel.catarroja
        New Member
        Posts: 2
        New Member
          Posted By mcissell on 11/20/2008 04:31 PM

          did you have any luck with this?

          Yes I was able to deliver the customization.

          Been a while since I visited the forums.

          Ragu Raghavan
          Veteran Member
          Posts: 468
          Veteran Member
            href="http://lawsonserver/bpm/inbasket?FUNCTION=dispatch&WORKUNIT=12345&TASK=Supervisor&APPRODLINE=PROD&RDUSER=DWilliams&PROCID=12345&PROCNAME=Req Approval&ACTID=UA19&ACTNAME=Supervisor&ACTION=Approve

            I assume the syntax above was for Process Flow ? Can anybody tell me what the command is for IPA? I used Fiddler to see what is called when the Approve button on an email is clicked - looks line encoded information. Thanks

            http:///bpm/submit?dataArea=&data=Pag%2FE3Nd3yD7a01LOfzYJmIirj37C%2FeZjUYilmrc4q98W2rmS6%2Ff4%2B5zm96f5Hs%2BgO0vhCZPORy8i7QWbUvNYdgxUyFhWajyZxUDES%2FGgvj7F2s7%2BdZ4GW7ZzAI1roTjNpn0KOYuN7ylyQWUeJSi8P8YZITzQ5wTfrYRLaCaWamJK3bTBaiJ%2FOjdqt8bAvYN5mavbB2rqQezTCcb81ogsQw2QR9mzq0kZO532CTKIFzUC8YPi8qaKepkc9So3UHjyWJJpNPQsltEh5MA1zBW2thAnxClmtzxwKd9Z%2FSS3Oo%3D
            You are not authorized to post a reply.