From portal-commits at lists.jboss.org Fri Jul 18 17:07:01 2008 Content-Type: multipart/mixed; boundary="===============6853754795293541979==" MIME-Version: 1.0 From: portal-commits at lists.jboss.org To: portal-commits at lists.jboss.org Subject: [portal-commits] JBoss Portal SVN: r11505 - docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules. Date: Fri, 18 Jul 2008 17:07:00 -0400 Message-ID: --===============6853754795293541979== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: chris.laprun(a)jboss.com Date: 2008-07-18 17:07:00 -0400 (Fri, 18 Jul 2008) New Revision: 11505 Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/workflow= .xml Log: - JBPORTAL-1757: Updated workflow documentation. Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/w= orkflow.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/workflo= w.xml 2008-07-18 20:59:11 UTC (rev 11504) +++ docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/workflo= w.xml 2008-07-18 21:07:00 UTC (rev 11505) @@ -9,170 +9,120 @@ Portal Workflow - JBoss Portal packages a Workflow Service based on JBPM. This service = provides you with the JBPM services that your portal can use - to build out the end-user/application workflows that should meet your= portal's requirements. = + JBoss Portal packages a Workflow Service based on jBPM. This service= provides you with the jBPM services that your + portal can use to build out the end-user/application workflows that = should meet your portal's requirements. =
- JBPM Workflow Engine Integration + jBPM Workflow Engine Integration - The JBPM Workflow service is packaged as an mbean and takes care of= all the low-level JBPM related functions. The configuration is found in - jboss-portal.sar/portal-cms.sar/portal-workflow.sar/META-INF/jboss-= service.xml. The mbean service configuration is as follows: - = - - - jboss.jca:service=3DDataSourceBinding,name=3D@portal.datasourc= e.name@ - true - conf/hibernate/workflow/hibernate.cf= g.xml - java:/portal/workflow/WorkFlowSessionFacto= ry - - - = - - - portal:service=3DHibernate,type=3DWorkflow = - - - - = - = - - - - - - - - - - - ]]> - + The jBPM Workflow service is packaged as an mbean and takes care = of all the low-level jBPM related functions. + The configuration is found in portal-workflow.sar/META-= INF/jboss-service.xml.
- CMS Publish/Approve Workflow Service - - The CMS Publish/Approval Workflow feature can be optionally turned on= so that, every file that is created or updated needs to go through an Approval process = - before it can be published to go Live. The current implementation, cr= eates a pending queue for managers. The managers can then either approve or= reject the publishing of the document in question. = - - - How activate this feature? - - In the following file, jboss-portal.sar/portal-cms.sar/META-INF/jbo= ss-service.xml, activate this feature on the org.jboss.portal.cms.impl.jcr.= JCRCMS MBean - - CMS Publish/Approve Workflow Service + + The CMS Publish/Approval Workflow feature is turned on by default= , so that every file that is created or + updated needs to go through an approval p= rocess before it can be published to + go live. The current implementation creates a pending queue for m= anagers. The managers can then either approve + or reject the publishing of the document in question. + + + How to deactivate this feature? + + The CMS Publish/Approval Workflow feature can be deactivated b= y commenting out the + ApprovePublishWorkflow attribute of the portal:service=3DCMS mbean in + portal-cms.sar/META-INF/jboss-service.xml: + - - - jboss.jca:service=3DDataSourceBinding,name=3DPortalDS - portal:service=3DJAASLoginModule - portal:service=3DHibernate,type=3DCMS - portal:service=3DModule,type=3DIdentityServiceController - = - + portal:service=3DApprovePublish,type=3DWorkflow + + ... +]]> + + + + How to configure this feature? + + The workflow service can be configured by editing the portal:service=3DApprovePublish,type=3DWorkflow + mbean found in portal-cms.sar/META-INF/jboss-service= .xml. + = - - - - portal:service=3DWorkflow,type=3DWorkflowService - - - portal:service=3DModule,type=3DIdentityServiceController - = - - = - - - - = - - - - - - = - - - = - - = - = - = = - = - = - = - - + + + + portal:service=3DWorkflow,type=3DWorkflowService + + + portal:service=3DModule,type=3DIdentityServiceController + + + + + + + + + + + + + + + + + + + + + + + + + - false - - Admin - java:portal/ApprovePublishWorkflow - = - ]]> - - - + false + + Admin + java:portal/ApprovePublishWorkflow = + ]]> + + + Of note in this configuration are the Process and ManagerRoles + attributes. The Process attribute is used t= o provide the jBPM process definition to be + followed by the workflow service during the approval process. = This follows the standard jBPM syntax + for process definition. ManagerRoles, on th= e other hand, is a comma-delimited list of + user roles that are being marked as "managers" who can approve= the publication of CMS documents. + +
= --===============6853754795293541979==--