Overview
The Calculated Merge Fields in Actionstep allow you to write in PHP code to create your own merge fields. Not all PHP functions are available to be used. There is a blacklist of some functions which are not allowed due to security concerns and a whitelist of functions which we do allow.
If you try to use a PHP function that is on the blacklist in a Calculated Merge Field it will give you a message saying that that function is not allowed.
There will be functions which are not included on either list. If you use one of these functions you will get a message saying that the function is not supported. In that situation reach out to our support staff by emailing support@actionstep.com and ask if the function can be allowed. If you include a copy of the calculated merge field you are trying to create that will help our programmers decided if the function should be whitelisted or blacklisted. If it is blacklisted they can often suggest an alternative function you could use.
Allowed Constants
- SORT_ASC
- SORT_DESC
- SORT_REGULAR
- SORT_NUMERIC
- SORT_STRING
- SORT_LOCALE_STRING
- SORT_NATURAL
- SORT_FLAG_CASE
Allowed Functions
|
|
|
Disallowed Functions
- exec
- passthru
- system
- shell_exec
- popen
- proc_open
- pcntrl_exec
- eval
- assert
- preg_replace
- create_function
- include
- include_once
- require
- require_once
- phpinfo