Comflow Documentation

Comflow Documentation

  • Comflow 2.22

›Presentation

Presentation

  • Release Notes
  • Migration Notes
  • Master Sitedef

Chart Implementations

  • Comflow Chart Implementations
  • Comflow Custom Chart Setup

Comflow IPP

  • Comflow IPP Basics
  • Using ppd files
  • Windows Printer Server Setup

Comflow Styling

  • Comflow Styling Basics
  • _config.scss
  • _custom-class.scss
  • Portal Header

Copy to Clipboard

  • Copy to Clipboard Basics
  • External Resources

Datepicker Exceptions

  • Datepicker Exceptions

Desktop Functions

  • Desktop Functions Basics
  • Modes
  • Style

My Functions

  • My Functions Basics

My Settings

  • My Settings Basics

Open API

  • OpenAPI Basics

Portal Menu Options

  • Portal Menu Options Basics
  • Mega Menu
  • Side Menu
  • Top Menu

Quick Search

  • Quick Search Basics

Quick Start

  • Quick Start Basics

Removed Classes/Methods

  • AbstractEnvironment
  • AbstractSegmentChangeObject
  • ApplicationObject
  • CadModel
  • ChangeObject
  • Changes in Rendering Classes
  • ClientInfo
  • Component
  • CoreSessionManager
  • DataInstance
  • Database
  • DriverHelper
  • DynamicModels
  • Environment
  • ErrorUtils
  • FieldChangeObject
  • Field
  • FlexIdImplementation
  • FlexId
  • Introduction
  • Logical Unit of Work
  • PromptRequest
  • RendererInfo
  • RendererModelUtils
  • RendererModel
  • RepositoryUtil
  • Root
  • SegmentChangeObjectImpl
  • SegmentChangeObject
  • SessionMessage
  • SimpleModel
  • Site
  • StringUtil
  • SystemWorkspace

Repository Constant

  • Repository Constant Basics

Sitedef

  • Site definition Settings

Sound Events

  • Sound Events Basics
  • Sound Events in Errors
  • Sound Events in Rules
  • Test Case in Verify

User Avatar

  • User Avatar Basics
  • Changes in Classes and Tables
  • References

User Info

  • User Info Basics

Master Sitedef

<?xml version="1.0" encoding="UTF-8"?>

<!--
======================================================================================
RELEASED

This "sitedef" is a sitedef intended to be the master of all possible
tags that can be used at a site.

*** This sitedef is NOT intended to be deployed itself, just for documentation.***

Copy tags from this sitedef into your own.

NOTE: If you add a tag, please also add from which platform version the tag is valid!

======================================================================================
-->

<Site>
    <ServerInfo name="localhost" instance="local" serverimpl="CA">
        <!-- Repository cache. A real performance killer if you turn it off. -->
        <Cache name="net.comactivity.core.repository.Repository" enabled="true"/>
        <!-- XSL Template cache -->
        <Cache name="javax.xml.transform.Templates" enabled="true"/>
        <!-- Data Model cache -->
        <Cache name="net.comactivity.core.datamodel.ComplexModel" enabled="true"/>
        <!-- Portlet cache -->
        <Cache name="net.comactivity.core.pml.PmlModel" enabled="true"/>
        <!-- Document cache -->
        <Cache name="net.comactivity.core.document.CadModel" enabled="true"/>
        <!-- Workflow cache -->
        <Cache name="net.comactivity.core.workflow.WfProcessXml" enabled="true"/>
        <!-- Process Instance cache -->
        <Cache name="net.comactivity.core.workflow.asynch.ProcessInstance" enabled="true"/>
        <!-- -->
        <SessionManagers>
            <Manager name="Generic" class="net.comactivity.core.GenericSessionImpl">
                <Parameters>
                    <parameter name="_TITLE" value="Comflow - Lean Software for Lean Business"/>
                    <parameter name="CONO" value="100"/>
                    <parameter name="ENTERPRISE" value="100"/>
                    <parameter name="Enterprise" value="100"/>
                    <parameter name="COMPANY" value="100"/>
                    <parameter name="Company" value="100"/>
                    <parameter name="DIVI" value="OF"/>
                </Parameters>
            </Manager>
        </SessionManagers>
        <!-- -->
        <VelocityProperties>
            <!-- For "Process Info" -->
            <Property name="CA_URL_Base" value="http://localhost:8080/comflow"/>
            <!-- Persistence, Document Management, CaUpload/Download -->
            <Property name="CA_filevault_Base" value="C:/Comflow/Persistence"/>
            <Property name="CA_Persistence_Base" value="C:/Comflow/Persistence"/>
        </VelocityProperties>

        <!-- For development: "net.comactivity.core.authentication.NoAuthentication" -->
        <Authentication name="CA" class="...">
            <Parameters>
                <parameter name="default.enterprise" value="001"/>

                <!-- For "URL Login, see document "Setup Guide URL Login"  -->
                <parameter name="url.login" value="true"/>
                <parameter name="session.values.in.url" value="true"/>
                <parameter name="start.task.in.url" value="true"/>
                <parameter name="start.task.in.url.hide.navigator" value="true"/>
                <parameter name="mapdata.in.url" value="true"/>
                <parameter name="url.login.single.session" value="false"/>

            </Parameters>
        </Authentication>

        <!-- Basic "CA Authorization" -->
        <Authorization>
            <!-- Properties>
            <Property name="" value=""/>
            </Properties -->
            <User>
                <Properties>
                    <Property name="class" value="net.comactivity.core.authorization.localdb.CAUserManagement"/>
                </Properties>
            </User>
            <Group>
                <Properties>
                    <Property name="class" value="net.comactivity.core.authorization.localdb.CAGroupManagement"/>
                    <Property name="admin.group" value="P-ADMIN"/>
                </Properties>
            </Group>
        </Authorization>

        <!-- Navigation: Separating desktop and pda  -->
        <Navigations id="desktop">
            <Navigation name="MyFunctions.navtree"/>
            <Navigation name="MySettings.navtree"/>
            <Navigation name="Core.navtree"/>
            <Properties>
                <Property name="quickstart.constant.metadata.id" value="CACORE"/>
                <Property name="quickstart.constant.id" value="navigator.worklist"/>
                <Property name="quickstart.task" value="AsynchWorkflow/MyWorkListsV4"/>
                <Property name="quickstart.initial.tab" value="MyWorkListsV443"/>
                <Property name="quickstart.message.badge" value="true"/>
            </Properties>
        </Navigations>
        <Navigations id="pda">
            <Navigation name="ApplicationBasePDA.navtree" />
        </Navigations>

        <!-- Printer Alternative 1: "LPR specification" -->
        <Printers>
            <Printer name="HP CLJ 3700DTN PCL 6" serverName="192.168.50.110" queue="" protocol="LPR" entryType="override"/>
        </Printers>
        <!-- Printer Alternative 2: "Java printer handler" -->
        <Printers>
            <PrinterHandlers>
                <PrinterHandler id="local" class="net.comactivity.core.print.java.JavaPrinterHandler"/>
            </PrinterHandlers>
        </Printers>
        <!-- Printer Alternative 3: "Via Corzia IPP-server" -->
        <Printers>
            <PrinterHandlers>
                <!-- Previous IPP implementation -->
                <PrinterHandler id="cups" class="net.comactivity.core.print.cups.CupsPrinterHandler">
                    <Property name="uri" value="ipp://192.168.50.140:631"/>
                </PrinterHandler>
                <!-- Current IPP implementation, see documentation for Comflow 2.22 -->
                <!-- See also, Services sitedef settings -->
                <PrinterHandler id="ldap" class="net.comactivity.core.print.ldap.LdapPrinterHandler">
                    <Property name="provider.url" value="ldap://dc1.example.com:389"/> <!-- Windows AD Controller -->
                    <Property name="provider.search.base" value="DC=example,DC=com"/> <!-- Windows AD Controller -->
                    <Property name="user.id" value="user@example.com"/> <!-- Windows AD Controller -->
                    <Property name="password" value="userpwd"/> <!-- Windows AD Controller -->
                    <Property name="domain" value="example.com"/>
                    <Property name="ipp.password" value="userpwd"/> <!-- Windows IPP under IIS -->
                    <Property name="ipp.user.id" value="user"/> <!-- Windows IPP under IIS -->
                    <Property name="ipp.domain" value="EXAMPLE"/> <!-- Windows IPP under IIS -->
                    <Property name="printers.search.base" value=""/>
                    <Property name="ipp.version" value="1.0"/>
                    <Property name="ipp.server.urls" value="http://printers.example.com"/> <!-- URL of Print Server running Windows IPP under IIS -->
                </PrinterHandler>
            </PrinterHandlers>
        </Printers>
        <!-- Sets up system locale to Swedish / Sweden -->
        <Locales systemlocale="sv_SE">
            <!-- Swedish / Sweden -->
            <Locale id="sv_SE">
                <!-- LookupOrder: If the language is missing in swedish, try to locate it in english -->
                <LookupOrder>
                    <Locale id="sv_SE" position="1"/>
                    <Locale id="en_US" position="2"/>
                </LookupOrder>
                <!-- Different patterns for dates and numeric values -->
                <Properties>
                    <Property name="default.date.pattern" value="yyyy-MM-dd"/>
                    <Property name="default.time4.pattern" value="HH:mm"/>
                    <Property name="default.time6.pattern" value="HH:mm:ss"/>
                    <Property name="default.timestamp.pattern" value="yyyy-MM-dd HH:mm:ss.SSSSSS"/>
                    <Property name="default.percent.pattern" value="#0.###"/>
                    <!-- Property name="default.integer.pattern" value="#,##0"/ -->
                    <Property name="default.number.pattern" value="#,##0.##########"/>
                </Properties>
            </Locale>
            <!-- Engish / United States -->
            <Locale id="en_US">
                <!-- Different patterns for dates and numeric values -->
                <Properties>
                    <Property name="default.date.pattern" value="MM/dd/yyyy"/>
                    <Property name="default.time4.pattern" value="hh:mm a"/>
                    <Property name="default.time6.pattern" value="hh:mm:ss a"/>
                    <Property name="default.timestamp.pattern" value="MM/dd/yyyy hh:mm:ss.SSSSSS a"/>
                    <Property name="default.percent.pattern" value="#0.###"/>
                    <!-- Property name="default.integer.pattern" value="#,##0"/ -->
                    <Property name="default.number.pattern" value="#,##0.##########"/>
                    <Property name="default.number.decimal.separator" value=","/>
                </Properties>
            </Locale>
        </Locales>
        <!-- -->
        <Properties>
            <!-- Control if features should autostart. Default value is "true" -->
            <Property name="install.autostart.features" value="true" />

            <!--License: Overriding license admin user. Default user is "comflow". -->
            <Property name="licensedDefaultUserId" value="COMACT"/>

            <!-- Which Authorization Setup to use in the system -->
            <Property name="REALM" value="TEST"/>

            <!-- Email account settings for email to work in general in portal (and specifically in AWF) -->
            <Property name="mail.smtp.host" value="mail.mycompany.net"/>
            <Property name="mail.smtp.user" value="my.account@mycompany.net"/>
            <Property name="mail.smtp.password" value=""/>
            <!-- If authentication shall be used against the mail server or not, default false -->
            <Property name="mail.smtp.auth" value="false"/>
            <!-- Overriding SMTP port if not standard 25 -->
            <Property name="mail.smtp.port" value="465"/>
            <!-- If SSL shall be used for the connection or not, default false -->
            <Property name="mail.smtp.ssl" value="false"/>
            <!-- If TLS shall be used for the connection or not, default false. Will not work if "mail.smtp.ssl" is true. -->
            <Property name="mail.smtp.ssl" value="false"/>

            <!-- All mail will go to this address if not in production flag is false -->
            <Property name="asynchwf.development.emailadress" value="asynchwf@corzia.com"/>
            <!-- Added to process name to form "from"-address when process sends email -->
            <Property name="asynchwf.production.domain" value="comflow.solutions"/>
            <!-- When false, all email will go to development address -->
            <Property name="asynchwf.production.enabled" value="false"/>
            <!-- No email will be sent if false (no matter if production or development mode) -->
            <Property name="asynchwf.email.enabled" value="false"/>
            <!-- Add URL in the email sent for a Work item, default false) -->
            <Property name="asynchwf.email.link.create.workref.path" value="false"/>
            <!-- Used when process is listening for email as start event -->
            <!-- Email poll account is set up in process definition -->
            <Property name="asynchwf.email.poll.enabled" value="false"/>
            <Property name="asynchwf.email.poll.minutes" value="0"/>
            <Property name="asynchwf.email.poll.seconds" value="15"/>
            <!-- 2.14.19 On claim: send email to all users that can act in the role -->
            <Property name="asynchwf.email.claim" value="15"/>
            <!-- If a process is initially RUNNING or PAUSED when deployed for the first time -->
            <Property name="asynchwf.initialrunningstate" value="RUNNING"/>
            <!-- 2.14.32 Read and manage only running instances (e.g. on incomming events) -->
            <Property name="asynchwf.running.instances.only" value="true"/>
            <!-- If false, no processes will run (no matter if they are paused or running) -->
            <Property name="asynchwf.enabled" value="true"/>
            <!-- When false anyone can act in any role without configuration -->
            <Property name="asynchwf.rolecheck.enabled" value="false"/>
            <!-- _PERSIST_TX (manange system restart DB based) or _Batch (in memory, default) -->
            <!-- NOTE: if _PERSIST_TX is to be used, it has to be started (see further down in this file) -->
            <Property name="asynchwf.scheduler" value="_Batch"/>
            <!-- WorkList Remove (delte of work items) possible or not (checkboxes visible or not) -->
            <Property name="asynchwf.worklist.remove.enabled" value="true"/>
            <!-- 2.12.37 Possibility to get re-trial of DB access on failure (for example in unstable networks) -->
            <Property name="asynchwf.db.trial.max" value="1"/> <!-- number of times to try the database access. Value 1 means no re-try, value 2 means re-try once etc. -->
            <Property name="asynchwf.db.trial.delay" value="1000"/> <!-- number of milliseconds until re-trying -->
            <!-- 2.14 (2.18) Displays Message icon (Envelope) for work items in Top Pane. Default true. -->
            <Property name="asynchwf.unread.notification.enabled" value="false"/>

            <!-- 2.12.60 For several Ca Servers towards same DB -->
            <!-- forces asynchwf.dblock = 'true' and useCacheOnAsynchInstance = 'false' -->
            <Property name="asynchwf.distributed" value="false"/>

            <!-- 2.16 Utility to shut off language initialization during development -->
            <Property name="asynchwf.language.init" value="true"/>

            <!-- Initial work list setting for all users before personal settings is modified -->
            <Property name="asynchwf.showWorkItemId" value="true"/>
            <Property name="asynchwf.showCustomer" value="false"/>
            <Property name="asynchwf.showProjectName" value="false"/>
            <Property name="asynchwf.showProcessName" value="true"/>
            <Property name="asynchwf.showKey" value="true"/>
            <Property name="asynchwf.showDescription" value="true"/>
            <Property name="asynchwf.showTask" value="true"/>
            <!-- 2.16.14 show "Task Category" ('Task or 'Info') - not in settings -->
            <Property name="asynchwf.showCategory" value="true"/>
            <Property name="asynchwf.showSequence" value="true"/>
            <Property name="asynchwf.showStatus" value="true"/>
            <Property name="asynchwf.showIcons" value="true"/>
            <Property name="asynchwf.showTimes" value="false"/>

            <!-- 2.12 How to display the error messages. "portlet" (default), "singlePopup" -->
            <Property name="portlet.error.message.mode" value="portlet"/>
            <!-- Where to display the error messages when portlet.error.message.mode is set to "portlet".  "top" or "bottom (default)" -->
            <Property name="portlet.error.message.position" value="bottom"/>
            <!-- 2.14 Show the old portlet toolbar by default or not -->
            <Property name="portlet.showToolbar" value="false"/>
            <!-- 2.14 Show toolbar icon for Ad hoc work item -->
            <Property name="portlet.toolbar.add.addhocworkitem" value="false"/>

            <!-- 2.14 value="fill" stretches portlet to the right -->
            <Property name="portal.portlet.width.mode" value="fill"/>
            <!-- Should promptable fields have a prompt button next to it -->
            <Property name="prompt.buttons.enabled" value="false"/>
            <!-- Always validate all input fields and not only those changed -->
            <Property name="force.all.columns.in.validaton" value="false"/>
            <!-- Puts the save state button in all portlet toolbars -->
            <Property name="saveState.all" value="true"/>
            <!-- Keep track of SQL results. Info available in SystemStatus -->
            <Property name="trace.sql.results" value="false"/>
            <!-- Used internally by Comflow. Gives the same portlet ids when testing -->
            <Property name="jetspeed.portal.portletid.test.mode" value="false"/>
            <!-- 2.12 Enable threaded database access -->
            <Property name="query.threading.enabled" value="true"/>
            <!-- 2.12 Threaded database access - number of working threads -->
            <Property name="query.thread.count" value="5"/>
            <!-- Set a custom background in the portal top -->
            <Property name="portal.top.background" value="images/graywave.gif"/>
            <!-- Title for the browser title bar -->
            <Property name="portal.title" value="Comflow Portal"/>
            <!-- 2.18 Use SVG for logos -->
            <Property name="portal.logos.use.svg" value="true" />
            <!-- Custom logo on the top left corner in the portal. You need to customize the size according to your needs. -->
            <Property name="company.logo" value="images/corzia_horis_rgb.png"/>
            <!-- 2.18 Show top logo in login page -->
            <Property name="login.logo.top.display" value="false" />
            <!-- 2.18 Top logo in login page. You need to customize the size according to your needs. -->
            <Property name="login.logo.top" value="images/background1.gif" />
            <!-- 2.18 Show side logo in login page -->
            <Property name="login.logo.side.display" value="false" />
            <!-- 2.18 Side logo in login page, max 115 px wide -->
            <Property name="login.logo.side" value="images/icon_with_text.svg" />
            <!-- 2.18 Show portal top left logo -->
            <Property name="portal.top.left.logo.display" value="true" />
            <!-- 2.18 Portal top left logo -->
            <Property name="portal.top.left.logo" value="images/corzia_horis_rgb.svg" />
            <!-- 2.18 Show portal top right logo -->
            <Property name="portal.top.right.logo.display" value="true" />
            <!-- 2.18 Portal top right logo -->
            <Property name="portal.top.right.logo" value="images/comflow_black.svg" />
            <!-- 2.12 Toggles whether to show the top pane or not -->
            <Property name="portal.showTopPane" value="false"/>
            <!-- 2.12 Toggles whether to show the top pane or not in the PDA portal -->
            <Property name="portal.showPDAPortletTopPane" value="false"/>
            <!-- 2.12 Show session info in the portal top or not -->
            <Property name="portal.showSessionInfo" value="false"/>
            <!-- 2.12 Show user info in the portal top or not -->
            <Property name="portal.showUserInfo" value="false"/>
            <!-- 2.12 Show the show/hide navigator button in the portal top or not -->
            <Property name="portal.showNavButton" value="false"/>
            <!-- 2.12 Show logout button in the portal top or not -->
            <Property name="portal.showLogoutButton" value="true"/>
            <!-- 2.12 Show the button to toggle the portal top in runtime or not -->
            <Property name="portal.showTopPaneToggleButton" value="false"/>
            <!-- 2.14 Sets the navigator type ("tree" (classic style), "application" or "top" (2.14->) -->
            <Property name="portal.navigatorType" value="top"/>
            <!-- 2.18 Set the top menu close delay in ms. Default value is 2000. -->
            <Property name="portal.navigator.mouseout.delay" value="2000"/>
            <!-- 2.18 Whether to show link to reset password service. Default value is false. -->
            <Property name="portal.reset.password.show.link" value="false"/>
            <!-- 2.18 URL to reset password service. -->
            <Property name="portal.reset.password.link" value="https://application.corzia.com/comflow/resetpassword"/>

            <!-- 2.12.29 Set the position of prompt popup. "center" = center positioned on screen. "field" = field positioned (Default). -->
            <Property name="prompt.popup.position" value="field"/>

            <!-- 2.12.36 Table Security: Should imported tables be checked -->
            <Property name="table.security.check.imported.tables" value="false"/>

            <!-- 2.12.38 Possibility to turn off page count on generic prompt -->
            <Property name="generic.prompt.page.count" value="true"/>

            <!-- Should % always be appended on search fields in tables -->
            <Property name="auto.append.wildcard.on.search" value="false"/>
            <!-- 2.12.42 Should + always be appended on numeric search fields in tables -->
            <Property name="auto.append.numeric.wildcard.on.search" value="false"/>
            <!-- 2.16 Possibility to use other syntax for wild cards, e.g. '*' -->
            <Property name="sql.string.wildcard" value="%"/>
            <Property name="sql.char.wildcard" value="_"/>

            <!--  2.16.29 Suggester max rows. Default value is 50. -->
            <Property name="suggester.max.rows" value="50"/>

            <!-- System persistence path (authorization, user settings etc) -->
            <Property name="persistence.path" value=""/>

            <!-- CaUpload/CaDownload persistence path. Use pathId to distinguish between different storage paths. -->
            <Property name="storagePath" pathId="storage1" value=""/>
            <Property name="storagePath" pathId="storage2" value=""/>

            <!-- 2.12 Fail over -->
            <!-- See "Operation/Manuals & Guides/Failover Installation and Operation.doc" -->
            <Property name="failover.enabled" value="false"/>
            <!-- 2.14.21 Flag that can be used in Custom.java to for  example differentiate email text -->
            <Property name="failover.production.enabled" value="false"/>
            <!-- Fail over memory threshold unit: Kbytes left (free mem) -->
            <Property name="failover.memory.threshold" value=""/>
            <!-- Fail over valid action values: alert | "failover" -->
            <Property name="failover.memory.threshold.action" value="alert"/>
            <Property name="failover.heartbeat.delay.action" value="alert"/>
            <Property name="failover.remote.host" value="localhost"/>
            <!-- Fail over UDP ports -->
            <Property name="failover.heartbeat.receive.port" value="9595"/>
            <Property name="failover.shutdown.receive.port" value="8585"/>
            <Property name="failover.heartbeat.send.port" value="9595"/>
            <Property name="failover.shutdown.send.port" value="8585"/>
            <!-- Fail over Simulation -->
            <Property name="failover.simulation.enabled" value="false"/>
            <Property name="failover.simulation.host.1" value=""/>
            <Property name="failover.simulation.host.2" value=""/>
            <Property name="failover.alert.emailadress" value=""/>

            <!-- Job Monitor -->
            <!-- 2.14.21 Possibility to disable Job Scheduler but keep other processes enabled. Default value is true. -->
            <!-- Note: This flag is only necessary in a distributed process environment -->
            <Property name="jobmon.enabled" value="true"/>

            <!-- Load all portlets at system start. Default value is false. -->
            <Property name="pre.cache.portlets" value="false"/>

            <!-- 2.16 Help System: Stand alone browser popup window, value "browser", or inside portal, value "modal". Default value is "browser". -->
            <Property name="portal.help.window.type" value="browser"/>

            <!-- 2.16 Set dynamic tab change timeout in milliseconds (Ajax). Default Value is 30000. -->
            <Property name="portlet.dynamic.tab.change.timeout" value="30000"/>

            <!-- 2.16 Set dynamic requests timeout in milliseconds (Ajax). Default value is 30000. -->
            <Property name="portlet.dynamic.requests.timeout" value="30000"/>

            <!-- 2.16.15 Filter using field value when prompting. Default value is false. -->
            <Property name="filter.prompt.value" value="false"/>

            <!-- 2.16 Debugging per user, Start / Stop debug in System Control-Users -->
            <!-- Debug users. -->
            <Property name="debug.users" value="comflow, turbine"/>
            <!-- Debug categories. Default categories are sql[INFO], database[INFO], luow[DEBUG], workflow[INFO], stack[INFO], programcall[DEBUG]. -->
            <Property name="debug.categories" value="sql[DEBUG],luow,programcall,database[INFO],workflow,stack,axis2[DEBUG]"/>

            <!-- 2.16 Profiling per user, Start / Stop profiling in System Control-Users -->
            <Property name="profiler.users" value="comflow"/>

            <!-- 2.16.36 Session Monitoring -->
            <!-- Enable monitoring. Default value is true. -->
            <Property name="session.monitor.enable" value="true"/>
            <!-- Session monitor execution interval in seconds. Default value is 120. -->
            <Property name="session.monitor.run.interval" value="120"/>
            <!-- The session keep alive in minutes (after last poll). Default: 60. -->
            <Property name="session.monitor.invalidate.after" value="60"/>
            <!-- Poller execution interval in seconds. Default: 30. -->
            <Property name="session.monitor.client.run.interval" value="30"/>

            <!-- Fill list segments with empty rows if necessary. Default value is false. -->
            <Property name="browse.autofill" value="false"/>

            <!-- 2.16.46+ Max no of lines allowed in browse segment display all -->
            <!-- Default value is 10000. -->
            <Property name="datamodel.paging.all.max.rows" value="10000"/>

            <!-- 2.16 Excel extension to use. Default is .xlsx -->
            <Property name="excel.extension" value=".xlsx"/>

            <!-- 2.16 Max no of line in Excel export. Default value is 100. -->
            <Property name="max.no.of.lines.in.excel.export" value="1000"/>

            <!-- 2.16 Max no of lines in Excel import. Default value is 100. -->
            <Property name="max.no.of.lines.in.excel.import" value="1000"/>

            <!-- 2.18 Document Preview Mode. Options are "window" and "portal". Default value is "portlet". -->
            <Property name="portal.document.preview.mode" value="window" />

            <!-- PDA/Handheld settings -->
            <!-- 2.12 Toggles whether to show the top pane or not in the PDA portal -->
            <Property name="portal.showPDAPortletTopPane" value="false"/>
            <!-- Custom logo on the top left corner in the pda portal. You need to customize the size according to your needs. -->
            <!-- Recomendations are a png below 200*32 pixels -->
            <Property name="company.logo.pda" value="images/comflow_horis_rgb.png"/>
            <!-- 2.18 To show or not show numbers first in the PDA menu. Default true -->
            <Property  name="portal.pda.numberedMenu" value="true"/>
            <!-- 2.18 To show or not show numbers first in list segments. Default true -->
            <Property  name="portal.pda.numbered.list" value="true"/>

            <!-- Flex ID settings -->
            <!--  2.20 Flex ID Option Type. Set default option type for Flex ID in the site definition. Possible values are combo|radioHorizontal|radioVertical. Default value is combo. -->
            <Property name="flexid.template.controller" value="combo"/>
            <!--  2.20 Max Visible Rows for Flex ID Suggester. Set max number of visible rows for Flex ID suggesters in the site definition. Default value is 20. -->
            <Property name="flexid.max.visible.rows" value="20"/>
            <!--  Threshold for Flex ID Suggester. Set required number of characters user has to input to trigger Flex ID suggester. Value is set in the site definition. Default value is 3. -->
            <Property name="flexid.suggester.threshold" value="3"/>

            <!-- Detail layout as 2.14 for to labels -->
            <Property name="legacy.colspan.top.label" value="false"/>

            <!-- Audit trail settings -->
            <!-- Show field change audit trail icon in portlet. Default is true. -->
            <Property name="field.change.audit.icon.visable" value="true"/>

            <!-- 2.22 Portal Custom Header -->
            <Property name="portal.header.class" value="customerHeader"/>

            <!-- 2.22 Desktop Functions -->
            <Property name="portal.desktop.functions.enabled" value="true"/>

            <!-- 2.22 Quick Search -->
            <Property name="quicksearch.minchars.threshold" value="3"/>

            <!-- 2.22 User Avatar -->
            <Property name="portal.user.avatar.enabled" value="true"/>
            <Property name="portal.user.avatar.type.default" value="local"/><!-- Possible values are gravatar, local, and custom. Default value is local.-->

            <!-- Enables/disables net.comactivity.AsynchWorkflow MyWorkListsV4 task as a quick start task.
                 This applies to all navigations such as desktop, tablet and mobile. If this property is set to false,
                 you have to specify the work list as a quick start on each navigation where it's wanted. Default value is false. -->
            <Property name="quickstart.worklist.enabled" value="false"/>
        </Properties>

        <!-- Direct Edit (from 2.14.0) -->
        <DirectEdit>
            <Property name="shared.folder" value="\\castoapp01/8080"/>
            <Property name="authorized.subnet" value="192.168.50"/>
            <Property name="editable.default" value="false"/>
            <!-- optional IP addresses/subnets (if not enough with subnet above) -->
            <AuthorizedAddress value="192.20.251"/>
            <AuthorizedAddress value="192.20.254.11"/>
            <AuthorizedAddress value="192.20.255.12"/>
        </DirectEdit>

        <!-- Specify in which database (see databases below) and Enterprise that processes should be initiated at system startup -->
        <AsynchWorkflow>
            <InitDatabase name="CACOREAWF" enterprise="001"/>
            <InitDatabase name="CACOREAWF2" enterprise="002"/>
        </AsynchWorkflow>

        <!-- Necessary for persistent (handle restart) timer/datetime events in AWF -->
        <Schedulers>
            <Scheduler name="_PERSIST_TX" enabled="false">
                <Properties>
                    <Property name="threadPool.threadCount" value="8"/>
                    <!-- 2.12.60 Possibility to use other service then core as data source -->
                    <Property name="jobStore.dataSource" value="CACORE"/>
                    <!--Property name="jobStore.driverDelegateClass" value="org.quartz.impl.jdbcjobstore.MSSQLDelegate"/-->
                </Properties>
            </Scheduler>
        </Schedulers>

        <!-- Embedded Derby -->
        <JVMProperties>
            <Property name="derby.system.home" value="C:/Comflow/eclipse/workspace/net.comactivity.db.CAERP"/>
        </JVMProperties>
    </ServerInfo>
    <!-- -->
    <Startup>
        <!-- Rules that will execute at startup -->
        <Rules>
            <Rule type="java" class="net.comactivity.example.TestRule"/>
        </Rules>

        <!--  Register services at startup -->
        <Services>
            <Service class="net.comactivity.test.MyExtendedAuthorization" serviceName="net.comactivity.core.authorization.ExtendedAuthorization" description="Check SOAP service for function authorisation"/>
            <!-- Current IPP implementation, see documentation for Comflow 2.22 -->
            <ServiceImpl name="net.comactivity.core.print.Converters">
                <Properties>
                    <Property name="enabled" value="true"/>
                </Properties>
            </ServiceImpl>
        </Services>

        <!-- Register Web Services (Apache Axis2) -->
        <WebServices>
            <WebService class="must.extend.AbstractWebService" serviceName="TestService" description="Description" requireAuthentication="false" runAsUser="SOAPUser"/><!-- http://localhost:8080/comflow/axis2services/TestService -->
        </WebServices>

        <!-- Register JAX-RS Services (Apache CXF) -->
        <RestServices>
            <RestService path="test" classes="net.comactivity.example.Test,net.comactivity.example.Test2" runAsUser="SomeUser" userGroups="Admin,RestUsers" enableLogging="false" enableGZIP="false"/><!-- http://localhost:8080/comflow/rs/test/* -->
        </RestServices>
    </Startup>
    <!-- -->

    <Repository position="40" name="net.comactivity.AsynchWorkflow">
        <Adapter class="net.comactivity.core.repository.adapters.zip.ZipRepositoryAdapter">
            <Parameters>
                <parameter name="file" value="${approot}/WEB-INF/reps/net.comactivity.AsynchWorkflow.zip"/>
            </Parameters>
        </Adapter>
    </Repository>

    <!-- Example of two schemas in same (physical) database (i.e. service) used for example for prod. and test -->
    <Databases>
        <Database name="CACOREAWF" metadataid="CACOREAWF" defaultschema="CACOREAWF" enabled="yes" querydb="" server="localhost" service="CACORE">
            <Qualifiers>
                <MessageField name="Enterprise" value="001"/>
            </Qualifiers>
        </Database>
        <Database name="CACOREAWF2" metadataid="CACOREAWF" defaultschema="CACOREAWF2" enabled="yes" querydb="" server="localhost" service="CACORE">
            <Qualifiers>
                <MessageField name="Enterprise" value="002"/>
            </Qualifiers>
        </Database>
    </Databases>

    <ExternalServers>
        <!-- Example Server -->
        <Server name="localhost">
            <Services>
                <!-- Example Service (database) -->
                <Service name="CACORE" type="jdbcpool" class="" port="1521">
                    <Parameters>
                        <!-- Connection parameters towards this service -->
                        <parameter name="driver" value="..."/>
                        <parameter name="url" value="..."/>
                        <parameter name="user" value="myuser"/>
                        <parameter name="password" value="mypwd"/>
                        <parameter name="schema" value="CACORE"/> <!-- schema used during system start -->
                        <parameter name="connectionTracking" value="false"/> <!-- Enable/disable tracking of connections to this external server. Useful for troubleshooting.-->

                        <!-- Example of date and time patterns for this DB service -->
                        <parameter name="timeStampPattern" value="dd.MM.yyyy HH:mm:ss.SSSSSS"/>
                        <parameter name="datePattern" value="dd.MM.yyyy"/>
                        <parameter name="timePattern" value="dd.MM.yyyy HH:mm:ss.SSSSSS"/>

                        <parameter name="useCaseingOnTable" value="true"/>
                    </Parameters>
                </Service>
            </Services>
        </Server>
    </ExternalServers>
    <!-- -->
    <Logger>
        <logkit>
            <factories>
                <factory type="stream" class="org.apache.avalon.excalibur.logger.factory.StreamTargetFactory"/>
            </factories>
            <targets>
                <stream id="stream">
                    <stream>System.out</stream>
                    <format type="extended"> %7.7{priority} %23.23{time:yyyy-MM-dd HH:mm:ss:SSS} [%10.10{category}] : %{message}\n%{throwable} </format>
                    <!-- a more compact format -->
                    <!--format type="extended"> %7.7{priority} [%10.10{category}] : %{message}\n%{throwable} </format-->
                </stream>
            </targets>
            <categories>
                <category name="startup" log-level="INFO">
                    <log-target id-ref="stream"/>
                </category>
                <category name="shutdown" log-level="INFO">
                    <log-target id-ref="stream"/>
                </category>

                <category name="asynchwf" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="auditor" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="authentication" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="bizrules" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="cache" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="concurrency" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="customize" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="database" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="datamaint" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="dialog" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="display" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="error" log-level="INFO">
                    <log-target id-ref="stream"/>
                </category>
                <category name="factory" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="failover" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="fop" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="help" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="jetspeed" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="jobmon" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="localization" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="luow" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="mail" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="main" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="navigations" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="navigator" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="print" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="profiler" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="programcall" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="prompt" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="report" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="repository" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="requestlog" log-level="DEBUG">
                    <log-target id-ref="stream"/>
                </category>
                <category name="security" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="session" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="slave" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="sql" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="stack" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="text" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="transaction" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="validator" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
                <category name="workflow" log-level="ERROR">
                    <log-target id-ref="stream"/>
                </category>
            </categories>
        </logkit>
    </Logger>
    <!-- -->
</Site>
← Migration NotesComflow Chart Implementations →
Comflow Documentation
Docs
Corzia Info
Community
User ShowcaseCorzia WebsiteTwitter
More
Update Sitetech@corzia.com
Copyright © 2019 Corzia AB