Please enable JavaScript to view this site.

Process Designer

Navigation: Workflow Design > Additional process functions

PHP functions

Scroll Prev Top Next More

PHP functions let you write a program directly in JobRouter Designer.

There are different types of PHP functions for the different possible applications:

Functions of the type rule condition function can be used as conditions in rules. Rule condition functions can, for example, use process data to perform certain validations. The result of this validation can then be used in the Condition of a rule.

You can use functions of the type rule execution function to Execute certain actions in action rules. Rule execution functions can be used, for example, to write files or enter data into another database.

Functions of the type form function can be used in Scripts forms with the help of the JavaScript API function jr_execute_form_function. A form function can be used, for example, to use data the user entered into the form to make calculations server-side and return the result into the form. External databases can also be queried that way.

Functions of the type box action function can be used as Actions in the inboxes. The execution of a box action function assigned to a specific action in the inbox of a user is performed when the user selects the respective action in the inbox. A box action can be used, for example, to simplify the approval of multiple steps of a process, so that the user has no need to approve every instance individually.

Functions of the type step initialization function can be used to initiate steps. The execution of Step initialization functions assigned to a stepis performed when the step is opened to be processed.

Please note: If you intend on writing PHP functions and using them in processes, you should possess profound Knowledge in PHP and understand the Fundamentals of object-oriented programming in PHP.