# System Settings

The (System) Settings screen allow changing many areas of the product. Some setting work in combination. Use caution when changing these.

# APP_WF_REQUEST_TIMEOUT

Sets the request timeout value for workflows invoked from Apps

# ENABLE_OUTCOME_VIEW

Workflow outcome is an alternate set of workflow states, based on whether a finish marker was reached when no more workflow actions are running.

There are three types of workflow outcomes:

Not Finished (NF) – One or more actions are currently running in the workflow.

Task Complete (TC) - There are no more actions running in the workflow and a finish marker has been reached.

Task Incomplete (TI) – There are no more actions running in the workflow and a finish marker has not been reached.

To leverage workflow outcome in Request History, navigate to Administration > System Management > Settings then set ENABLE_OUTCOME_VIEW = True.

By setting ENABLE_OUTCOME_VIEW = True, you will see changes in three places.

First, the filters in Request History:

Machine generated alternative text: Request History Showing: Yourrequests YChange Filter CHANGE FILTER Order or Request Search ByService: Search By Response: User: @Self O All O Outcome:@ All O TaskInconwete O Task Complete Quick Range: Select A Range 5/29/2017 AM blankfor any blank for any blank for any To 6/6/2017 PM update Cancel

Second, in the Request History view:

Third, in the Request Details view:

The following terms can also be controlled via site text:

Outcome - L_Page_Title_Request_OutcomeState

Not Finished - L_Field_WF_Status_NF

Task Complete - L_Field_WF_Status_TC

Task Incomplete - L_Field_WF_Status_TI

# SHOW_USER_ASSIGNED_WORK_IN_REQUEST

When enabled, a direct link to related work items will be diplayed in request history view

# FORM_VALIDATION_MODE

With form validation mode 2, when a user attempts to submit a form that fails validation, all of the error messages are combined into a single alert message.

Example of DIV Alert

The form will scroll almost to the top to bring the validation message into view for the user. The validation message may look different depending on its styling which can be changed in the global CSS setting.

Styling can also be added to the form questions so that the questions that failed validation are more noticeable.

Example Standard Text

File Validation

User Lookup AD Validation

Dynaform Validation Mode 2

To enable Validation Mode 2, refer to the FORM_VALIDATION_MODE system setting.

# GETWORKFLOWSTIMLINEDATA_MAXRECURSION

Sets the MAXRECURSION number used in the Summary View page for a workflow instance. The default of 0 uses the SQL default of 100.

# ADMIN_THEME_PREFIX

File prefix for theme admin files. This option allows overriding the default blue color scheme on PMG admin pages.

# CUSTOM_SPE_JAVASCRIPT

Custom JavaScript for the page under /spe

# SCHEDULER_CONFIG

The raw configuration from the Workflow Scheduler, for troubleshooting information

Request History – Contact Work Users by Email

The below system settings allow end users to directly contact other users assigned to a work item by email from within the request history view.

# ENABLE_WORKFLOW_EVENTS_FOR_INPROC

This setting enables defined workflow events to trigger for workflows when ran "In Process".

# ENABLE_DIRECT_CONTACT_TO_WORK_USERS

Admin configuration:

# ALTERNATE_ACTOR_USER_HIDEWORKFLOW

Hides the workflow select list from non-admins on the alternate actor screen when adding/editing alternate actors.

# COMPRESS_REQUEST_DATA

Compress/decompress request data on the fly to save database storage space.

# DIRECT_CONTACT_BODY_TEMPLATE

String for text template/email or a name of an Email Template for an HTML email.

# DIRECT_CONTACT_EMAIL_SUBJECT

Template used to create suggested subject for direct contact email.

# DYNAFORM_AUTO_REFRESH_OVERRIDE

Force DynaForm auto refresh mode for all select lists and all read-only textboxes regardless of DynaForm configuration.

# ENABLE_SERVER_VALUE_FOR_BACKEND_PRELOAD

Enables Work Item form fields to support server-side preload values. Text, textarea, hidden, and password fields are supported

# ENABLE_DIRECT_CONTACT_TO_WORK_USERS

Allow users to contact work item users via email.

# HTTP_CUSTOM_HEADERS

Custom headers to add to HTTP responses

# LOCATION_TO_PROCESS_REPORTING_DATA_UPDATES

Specifies the process location where reporting data will be processed. Historically, reporting data for submitted forms was ran from the Web Server process. To optimize the front-end user experience of interacting with the Portal, this work can be offloaded to the Configuration Service.

# CAN_DELETE_OPTIONAL_ITEMS_FROM_CART

Provides UI controls to end user to remove optional items directly from cart view

# ASYNC_BACKEND_SAVE

# BACKEND_QUESTION_DATA_SAVE_TIMEOUT

# ENABLE_WORKFLOW_FUNCTION_SERVICE

# HIDE_INFORMATION_ON_BACKEND

# REPORTING_CONCURRENT_PROCESSING_THREADS

# REPORTING_DATA_REBUILD_DELAY_MS

# STORE_REPORTABLE_QUESTION_DATA

# ENABLE_RELAY_HUB

# MINIFY_JS_COMBINED

# CHANGE_SESSION_ID

Change the SessionId for each time the login page is loaded. False is the default behavior.

# FORCE_BASKET_RELOAD_ON_ADD

Force reload basket from database when items are added, instead of just current session basket data. False is the default behavior.

# USE_OFFICE_COOKIE_FIX

This assists with links pointing to PMG to load correctly in Microsoft Office products. True is the default behavior.

# USE_WORKFLOW_SEARCH_SERVICE

Use the workflow search service instead of SQL/code based search. False is the default behavior.

# WORK_DASHBOARD_SEARCH_QUESTIONS

Control if search box on Work Dashboard should only filter across the standard columns or if search should include custom columns included on the dashboard.

# BS3_PAGE_LIST

# ENABLE_REPORT_DASHBOARD

# FORM_EDIT_MODE

# LIMITED_MANAGER_MODE

# REPORTS_BUILDER_MIGRATION_OPTION

# SEND_API_SESSION

# SEND_P3P_HEADER

# SUBFORM_AUTH_TYPE

# TRY_FORM_EDIT_PREVIEW

# USE_BS3_PRODUCT_PAGE

# Workflow Configuration

# MAXCALLWORKFLOWS

# MAXACTIONSPERWORKFLOW

# WORKFLOWFUNCTIONSHEADERALLOWORIGIN

# MAXCALLWORKFLOWSEXCLUDES

# MAXACTIONSPERWORKFLOWEXECLUDES

# AD_LOOKUP_USE_DISPLAY_NAMES

If set to true, newly added AD Lookups will use field labels that match the display names of the portal's configured AD attributes.

# DISABLE_IE10_MODE

Set to True if using ENABLE_NEW_RTE setting to allow pasting of images into the Rich Text Editor (RTE) on form question text area.

# DRAFT_SHOW_ADD_TO_CART

Enable option to copy a draft basket to the cart and not delete the draft basket after complete.

# DRAFT_SHOW_MOVE_TO_CART

Enable option to move a draft basket to the cart and delete the draft basket after complete.

# ENABLE_CART_ITEM_DUPE_FOR_ALL

Allow all user to have the ability to duplicate items in the cart.

# ENABLE_NEW_CART_PAGE (Beta)

Use the new cart page.

# ENABLE_NEW_REQUEST_HISTORY (Beta)

Use the new request history page.

# ENABLE_NEW_RTE

Enable this in combination with DISABLE_IE10_MODE to allow pasting of images into the Rich Text Editor (RTE) on form question text area.

# ENABLE_SAVE_FOR_LATER

Enable option in the cart to save an item for later.

# PM_ALLOW_DEPLOY_LATEST_UI

Allow package manager users to deploy imported workflows over latest when importing a package in the package manager UI.

# SEARCH_RESULTS_PAGE_URL

Use this url as the Search Results page. The URL parameter "&searchtext=" will be appended to the URL for search queries.

# ASYNC_PREVENT_SUBMIT_WHILE_LOADING

If set to true, prevent form submission while standard form elements are waiting for ajax queries to finish loading.

# ENABLE_NEW_CART_PAGE (introduced in v8.10 as beta)

Use the new cart page.

# ENABLE_NEW_REQUEST_HISTORY (introduced in v8.10 as beta)

Use the new request history page.

# ENABLE_WORKFLOW_CHECKOUT

Set to True to enable the new workflow checkout feature

# USE_CSRF_DETECTION_SPE

Enable code to detect CSRF issues in /spe areas of product.

# USE_CSRF_PROTECTION_SPE

Enable code to protect against CSRF issues in /spe areas of product.

# WORKFLOW_SEARCH_ANALYZER

Workflow search analyzer. Changing requires rebuilding workflow index.

# MISSING_SERVER_SIDE_VALIDATION_DATA_ACTION

Action when server side for validation data is missing. Default: Warn

# SERVER_SIDE_VALIDATION_INCLUDED_SERVICES

Enable server side for validation for these Ids. Default: [Blank]

# SERVER_SIDE_VALIDATION_EXCLUDED_SERVICES

Disable server side for validation for these Ids. Default: [Blank]

# ANONYMOUS_BUILTIN_ENABLED

Turn on to allow anonymous access to the platform. If ANONYMOUS_ENABLED set to True, platform handles allowing anonymous access automatically. If false, anonymous login can be handled during SSO, and within the PMG SSO framework.

# ANONYMOUS_ENABLED

Turn on in conjunction with ANONYMOUS_BUILTIN_ENABLED set to True to allow anonymous access to the platform. Use these settings with caution and it’s recommended to reach out to PMG Support to discuss use cases.

# ANONYMOUS_USER_JS

JavaScript to run for anonymous users

# ENABLE_REMOTE_DATA_SOURCES

Enables the configuration of remote data source using Agent/Relay framework.

# ENABLE_SEARCH_RESPOSNE

Allow non-admin users to search across request history for submitted form responses.

# ENABLE_WWL3

If set to false, WWL3 will not show in navigation, and attempts to load WWL3 will re-direct to the Work Dashboard, if enabled.

# COMMENTS_WIDGET_TRIGGER_WF

JSON Configuration for a data workflow which will run every time a comment is posted to a request or a workitem.

Example:

{ "workflow": "MyWorkflow", "variables": [ { "name": "varname1", "value": "The comment was: %COMMENT% was from a %FROM%" }, { "name": "varname2", "value": "%WORKFLOWID% and %COMMENTID%" }, { "name": "varname3", "value": "The user ID was: %USERID%" } ] }

Currently, 5 keywords can be used which will be replaced by comment values.

  • %COMMENT% - The value of the comment
  • %FROM% - Where the comment originated, either Request or Workitem
  • %COMMENTID% - The comment ID
  • %WORKFLOWID% - The workflow ID
  • %USERID% - The logon value of the user who submitted the comment