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();
…