Please enable JavaScript to view this site.

Process Designer

Navigation: PHP API > Determine instance data

Current user name (getCurrentUsername)

Scroll Prev Top Next More

The function allows you to determine the user who is currently signed into JobRouter or rather sent the current step.

Parameter

Type

Description

-

-

-

This function returns the user name as a string. In case it is a system step, the function returns the value null.

Example:

$currentUsername = $this->getCurrentUsername();