PaaS Partner Community

  • February 1, 2014

Integrating Custom BPM Worklist into WebCenter Portal (Same Domain for BPM and WebCenter) by Red Samurai

Juergen Kress
PaaS Partner Adoption

http://2.bp.blogspot.com/-5jAvXzUNY24/UlkqQRvJaJI/AAAAAAAAKYU/xJ4yqWTWiCg/s320/13.pngI would like to share sample application configured to run custom BPM Worklist and steps describing how to configure and access it from the WebCenter Portal. This post will be based on two other posts from my blog, I would recommend to go through them first. The one where is described how to extend WebCenter Portal - Extending WebCenter Portal Made Easy. Other one about deploying custom ADF shared libraries - Deploying ADF Applications as Shared Libraries on WLS. For this post, I assume BPM and WebCenter environment is running on the same domain. There is one more - custom BPM Worklist access implementation through BPM Java API - ADF 11g PS5 Application with Customized BPM Worklist Task Flow (MDS Seeded Customization).
BPM and WebCenter Portal runs on the same domain - each of different WebLogic Managed Server. With such configuration, setup is quite straightforward, comparing to having separate domains: Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki Mix Forum

Join the discussion

Comments ( 2 )
  • Mike Oakes Monday, September 19, 2016

    Hi Jurgen,

    Sorry to bother you but I hoped you might be able to help me with a problem I am having and may have seen it before.

    I am having an issue with an ADF Taskflow that we are using within Oracle Webcenter Portal 12c.

    The taskflows are built and deployed as an ADF Library on the server, and are referenced through a Webcenter Extension Project.

    The above is all set up correctly and the takflows are available and run within a Webcenter Portal page.

    The issue we have. Our taskflow(we will call A) displays a list of unclaimed BPM tasks for the current user on one tab, and a list of claimed tasks belonging to that user on another tab. These are retrieved via web service and display correctly.

    Each of these displayed tasks in the list has a link that, when clicked, will call a Bounded Task Flow (we will call B) which displays on the same page but is configured in the task flow to display in a Dialog. This Dialog popup displays the task details and available actions (whether that is to click the button to claim the task or to click a button to process or finish the task).

    This Bounded Task flow (B) is shown in the diagram below.

    It basically does a call to the BPM Task remote Taskflow (we will call C). As this is a remote taskflow on the BPM servier it does this calling a Dynamic Taskflow Reference that uses the remote Application URL (remoteapplicationurl) and passing that taskflow two parameters: bpmWorklistContext and bpmWorklistTaskId.

    Now this functionality is actually working and behaves correctly. I can click on any task in the task list or any unclaimed task in the task list and the appropriate BPM Task form displays correctly in my dialog popu within my webcenter application.

    It alls works correctly until you acutally click on or submit the action - and this is the same for either pressing the Claim Button or the Finish button for an already claimed Task. When clicking the action button the form process ( and behind the scenes it does carry out its appropriate processing) however there is a problem with the after action on the form. The popup goes blank and the dialog header changes to 'Page Not Found' and the dirty page popup appears asking to confirm that you want to Leave the Page as data you have entered may not have saved.

    When you click on this both the dialog, and its parent page navigate to the Webcenter Portal Error Page Not Found page. I have debugged this and it appears that the remote BPM Taskflow doesnt return back to its calling Taskflow in Webcenter - it seems that the Remote BPM Task Form Taskflow tries to force navigation to a page that doesnt exist within Webcenter and that this is causing the error.

    What is probably important is that if you log out and log back into the application, whichever task you had processed - whether it be to claim an unclaimed Task, or to process a task you have already claimed, when you go back into the portal after the error you find that whatever taskflow action you had clicked on within the remote BPM Taskflow Application has completed successfully. It seems the only error has been caused by the after completion action within the remote BPM taskflow.

    I have actually tested this same taskflow directly outside of Webcenter Portal 12c running the same project as a standalone webcenter portal application and we do not get the redirection error. As a standalone application this functions perfectly yet when called from within an Oracle Webcenter Portal 12c application the completed action of the Remote BPM Task Taskflow tries to force navigation and Webcenter Portal throws a Page Not Found error.

    Is this an issue anyone else has come across or seen? This is the last issue we have outstanding on closing out this project

  • guest Monday, September 19, 2016

    Hi Mike

    suggest you create a WebCenter service request at support.oracle.com
    Good start in the new week Jürgen Kress

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.