There are a number of sections to ZFlow configuration and allow your flexibly set up ZFlow to support your team and organizational needs.
Site Configuration
APP_BASE – http://servernameorIP:8080/zflow (can also use http://localhost:8080/zflow), https://servernameorIP/zflow (if load balancer, or Elastic Bean CName configuration)
APP_DATA_DIR=
APP_TITLE – Name of the Application
APP_DESCRIPTION – Description of the application
APP_POWEREDBY – ZFlow
LINK_BASE – https://servernameorIP/zflow (if a load balancer is used it is important to use the load balancer server name)
SITE_NAME – name of the site
Mail Server Configuration
MAIL_FROM= (mail from address for emails sent by ZFlow)
MAIL_USER= (if SMTP user is required to send emails from ZFlow server)
MAIL_PASSWD = (SMTP user password)
SMTP_HOST= (SMTP mail server)
SMTP_MAIL= smtp (default)
SMTPPort= (default is 25)
SMTPTLS=true/false (true for using TLS security for SMTP connections)
Configuration related to Processes
SUBMIT_WO_REQUIRED = true/false
- true allows workflow activity to move forward even if all the required values are not filled
- false will not allow workflow activity to move forward
EMail Templates
EMAIL_CONTENT_FONT (example – ‘Arial’, sans-serif)
EMAIL_CONTENT_FONTSIZE (example – 14)
emailContentBgColor (example – #ffffff)
emailFooterBgColor (example – #f3f6fd)
emailHeaderBgColor ((example – #f3f6fd)
CUSTOMER_NAME
CUSTOMER_URL
NEWPASSWD_EMAIL_JSP
INVITE_EMAIL_JSP
System Security
TWO_STEP_LOGIN=true/false
HIDE_NONSSO_LOGIN=true/false
Single Sign-on (SSO) Configuration
Microsoft Active Directory
- MS_TENANTID
- MS_CLIENTID
- MS_CLIENTSECRET
Okta
- OKTA_CLIENTID
- OKTA_CLIENTSECRET
- OKTA_URL
Second Okta Client (Used for Supplier Login)
- OKTA2_CLIENTID
- OKTA2_CLIENTSECRET
- OKTA2_URL
GSuite (Google)
GSUITE=true/false
- true – Provides the option login using GSuite authentication in the login screen
- false – No GSuite login option in the login screen
Advanced
Database connection
Config Parameters for Connecting to MySQL with SSL
DB_PASSWD=Samplepassword
DB_URL=jdbc:mysql://localhost:3306/sampledatabase
DB_USER=testusername
NO_CONN= (Number of pooled connections)
MAX_TO_QUERY= (Maximum rows per query – determines page length)
CONN_TIMEOUT= (minutes after which to clean up unreleased connection – default is 20 minutes)
QUERY_TIMEOUT= (Timeout in seconds for database queries – default is 120 seconds)
USE_CONN_POOL=false/true (Uses connection pooling – releases all connections after use)
Archiving
SAVE_DELETEDPROC
- true – saves deleted process as snapshot (zar file)
- false – does not saved snapshot files
ARCHIVE_FOLDER (example, /zflow_backup/deleted_processes)
Saves deleted processes zar files in specified directory
BACKUP_FILESFOLDER = true/false
Include files folder in Backup directory if true
Directories/Files
Miscellaneous
SUBMIT_WO_REQUIRED – true/false
- true – allows submissions of workflows even when required fields are not filled
- false – does not allow submission of workflows when required fields are not filled
BACKUP_DIR
directory for backing up for codebase zip file and database file
LINK_BASE – url
Uses the “url” value for link inserted in emails – pre-notification, notification
UTF8ENCODING – true/false
PROCESS_COLUMNS = 1,2,3
Number of columns for fields when rendering process object
ClassName_SEQMASK=000000
Sequences for class attributes
DISABLE_SEL = true or false
- True does not allow entering values in the text field (selectable value)
- False allows allows entering values in the text field (selectable value)
DISABLE_SEL_Attribute (to selectively disable/enable entering values in the field for an attribute)
TOMCAT_LOG_COMMAND
journalctl –no-pager -u tomcat.service -n 3000
MYSQL_DUMP_CMD
mysqldump -h (in case of RDS)
DB_DUMP_CMD
mysqldump -h (in case of RDS)
TINY_MCE=false/true
false removes tinymce
ATTRIBUTE_COMMENTS=true/false (true is default)
COPYRIGHT_TEXT
Text for copyright text in the footer of Supplier Launchpad
FEWER_BUTTONS = true/false
PLM Related
BOMReportDefault = PartVer and PartToPart Attributes (PartNo,PartName,Qty,QtyUOM…)
Supply Chain Related