+

Search Tips   |   Advanced Search


Portal with WebSphere Process Server and Business Process Manager

Overview

To work WebSphere Process Server and Business Process Manager tasks in portal, configure Unified Task List portlets to use dynamic task page definitions, and use property broker eventing for inter-portlet communication. Create dynamic pages and task handling portlets using development tools like Rational Application Developer or Web Experience Factory.

Install Portal Server and Process Server in separate cells


Configure Unified Task List Portlet v5.0

  1. Configure Cross-Cell-Single Sign On

  2. Review creation of dynamic pages

  3. Review task handling portlets

  4. Extract the Unified Task List portal application archive file.

  5. cp /unifiedtasklist/components/unifiedtasklist/shared/app/tpir.jar WP_PROFILE/PortalServer/config

  6. Restart Portal Server

      WP_PROFILE/ConfigEngine.sh stop-server start-server

  7. Use wsadmin to deploy unifiedtasklist.war.

    ### install_utl_war.py 
    
    utl_war_file="/path/to/unifiedtasklist.war"
    nodeName="node02"
    serverName="WebSphere_Portal"
    appName="unifiedtasklist_war"
    
    print "-> Start Unified Task List installation."
    
    ### Install the UTL war file 
    cellName=AdminControl.getCell()
    
    AdminApp.install(utl_war_file, 
                     '[ -nopreCompileJSPs 
                        -distributeApp 
                        -nouseMetaDataFromBinary 
                        -nodeployejb 
                        -appname '+appName+' 
                        -createMBeansForResources 
                        -noreloadEnabled 
                        -nodeployws 
                        -validateinstall warn 
                        -noprocessEmbeddedConfig 
                        -filepermission .*\.dll=755#.*\.so=755#.*\.a=755#.*\.sl=755 
                        -noallowDispatchRemoteInclude 
                        -noallowServiceRemoteInclude 
                        -asyncRequestDispatchType DISABLED 
                        -nouseAutoLink 
                        -contextroot /wps/unifiedtasklist 
                        -MapModulesToServers [[ WPF unifiedtasklist.war,WEB-INF/web.xml 
                                                WebSphere:cell='+cellName+', 
                                                node='+nodeName+',
                                                server='+serverName+' ]] 
                        -MapWebModToVH [[ WPF unifiedtasklist.war,WEB-INF/web.xml default_host ]]
                                   ]' )
    print "- Application installed."
    
    # Save the configuration AdminConfig.save()
    print "  - Configuration saved - Starting application."
    
    # Start the UTL application # Get the WebSphere AppServer Application Manager Object
    
    appManager = AdminControl.queryNames('cell='+cellName+', node='+nodeName+', type=ApplicationManager, process='+serverName+',*')
    
    AdminControl.invoke(appManager, 'startApplication', appName)
    print "  - Application Unified Task List started"
    print "-> Installation done."
    
    ### DONE
    
    

  8. Use xmlaccess.sh to register the application.
    <?xml version="1.0" encoding="UTF-8"?>
    
    <request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
             xsi:noNamespaceSchemaLocation="PortalConfig_7.0.0.xsd" 
             type="update" 
             create-oids="true">
    
    <portal action="locate">
    
        <web-app action="update" 
                 predeployed="true" 
                 active="true"
                 uid="com.bowstreet.portlet.WebAppRunner2_unifiedtasklist.webmod">
        
            <url>file:/opt/was/installedApps/NodeName/unifiedtasklist_war.ear/unifiedtasklist.war</url>
            <context-root>/wps/unifiedtasklist</context-root>
            <display-name>unifiedtasklist</display-name>
    
            <servlet action="update" 
                     active="true" 
                     objectid="Unified Task List Portlet" 
                     referenceid="Unified Task List Portlet.servlet" />
    
            <portlet-app action="update" 
                         active="true" 
                         uid="Unified Task List Portlet">
    
                <portlet action="update" 
                         active="true" 
                         uniquename="UTL_Portlet"
                         name="Unified Task List Portlet"
                         servletref="Unified Task List Portlet.servlet">
                </portlet>
    
            </portlet-app>
        </web-app>
    </portal>
    </request> 
    
    

  9. Use xmlaccess to create a portal page (HumanTasks) and place the Unified Task List on that page.
    <request build="wp7001CF03_001_15" 
             type="update" 
             version="7.0.0.1" 
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
             xsi:noNamespaceSchemaLocation="PortalConfig_7.0.0.xsd">
    
        <portal action="locate">
    
            <web-app action="locate" 
                     domain="rel" 
                     uid="com.bowstreet.portlet.WebAppRunner2_unifiedtasklist.webmod">
    
                <servlet action="locate" 
                         domain="rel" 
                         name="Unified Task List Portlet"/>
    
                <portlet-app action="locate" 
                             domain="rel" 
                             name="com.bowstreet.portlet.WebAppRunner2_unifiedtasklist" 
                             uid="com.bowstreet.portlet.WebAppRunner2_unifiedtasklist">
    
                     <portlet action="locate" 
                              domain="rel" 
                              uniquename="UTL_Portlet" 
                              objectid="utlPortletID"/>
    
                </portlet-app>
    
            </web-app>
        
            <content-node action="locate" 
                          domain="rel" 
                          uniquename="wps.content.root"/>
    
            <content-node action="locate" 
                          domain="rel" 
                          uniquename="ibm.portal.Home"/>
    
            <content-node action="update" 
                          active="true" 
                          allportletsallowed="true" 
                          content-parentref="ibm.portal.Home" 
                          create-type="explicit" 
                          domain="rel" 
                          ordinal="300" 
                          type="page" 
                          uniquename="Task">
    
                <supported-markup markup="html" update="set"/>
    
                <localedata locale="de">
                    <title>Meine Aufgaben</title>
                </localedata>
    
                <localedata locale="en">
                    <title>My Tasks</title>
                </localedata>
    
                <component action="update" 
                           active="true" 
                           deletable="undefined" 
                           domain="rel" 
                           modifiable="undefined" 
                           ordinal="100"  
                           orientation="V" 
                           skinref="undefined" 
                           type="container" 
                           width="undefined">
    
                        <component action="update" 
                                   active="true" 
                                   deletable="undefined" 
                                   domain="rel" 
                                   modifiable="undefined" 
                                   ordinal="100" 
                                   skinref="undefined" 
                                   type="control" 
                                   width="undefined">
    
                            <portletinstance action="update" 
                                             domain="rel" 
                                             portletref="utlPortletID">
            
                                <preferences name="wpf_edit_defaults.com.ibm.accelerators.utl.VisibleFilters:VisibleFilters"
                                             update="set">
                        
                                    <!-- Define the Visible Filters for -this- Virtual Portal : MyPortal1 -->
                        
                                    <value><![CDATA[
                                    <FilterSettings xmlns="http://www.ibm.com/wps/utl/VisibleFiltersSchema">
                                   
                                        <DefaultFilter>Headquarter_Tasks</DefaultFilter>
                                
                                        <VisibleFilters>
                                            <FilterID>Headquarter_Tasks</FilterID>
                                            <FilterID>Headquarter_ClaimedTaks</FilterID>
                                            <FilterID>Headquarter_UnClaimedTasks</FilterID>
                                        </VisibleFilters>
                                
                                    </FilterSettings>]]>
                                    </value>
                                </preferences>
                        
                        </portletinstance>
                    </component>
                </component>
            </content-node>
        </portal>
    </request> 
    
    

  10. Login to Portal Server and select the My Tasks page.

    There is only one Unified Task List portlet instance for all country portals (virtual portals). This single instance is shared and placed on separate pages in the virtual portals.

Other portal integration options...


More information

  1. Create a BPM Center of Excellence (COE)
  2. Use the Unified Task List Portlet to set up a business process portal for human task handling
  3. Unified Task List developer package
  4. Portal Server product documentation
  5. Develop business process portal applications using WebSphere tooling