Best Practices: Dynaforms
Dynaforms names should be represented in proper case and should indicate what it does.
Variables on DynaForms
These should be defined in lower camel case. This is the practice of joining compound words or phrases together without any spaces where the first letter of the first word is lower case and each word after begins with a capital letter (For example, customerNameIsSmith).
You will notice that ProcessMaker specifies some of its standard process variables as underscore separated, and all upper case. We do not follow this convention to differentiate our specific process variables from the common, inherited ones.
For clarity, a variable to represent a customer name should be specified as:
customerName;
DOI and all acronyms still utilize camelCase such as doiUpdate or updateDoi
This follows suit with other acronyms such as jib/nwi, etc.
Copyright© 2024 IFS AB. Copying prohibited. All rights reserved.