This function allows you to generate the URL for accessing the history of a specific instance by a specific user.
Parameter |
Type |
Description |
|---|---|---|
$processId |
string |
ProcessId of the instance |
$userName |
string |
Username (optional); The name of the current user is set as default value |
This function returns the URL for accessing the history of the stated instance by the stated user.
Example:
…
$processId = $this->getProcessId();
$userName = 'admin';
$incidentUrl = $this->getIncidentUrl($processId, $userName);
…