Please enable JavaScript to view this site.

Process Designer

Navigation: PHP API > Other functions

URL for accessing an instance history (getIncidentUrl)

Scroll Prev Top Next More

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