This function allows you to determine various information on the current incident or step.
Parameter |
Type |
Description |
|---|---|---|
$attributeName |
string |
Name of the incident or step attribute |
The function returns the value of the entered incident or step attribute. In case an incident attribute does not exist, a JobRouterException is thrown.
The following incident attributes can be determined:
•processname
•version (process version)
•incident (number of the current incident)
•step (number of the current step)
•initiator (initiator of the current incident)
•username (username of the current step)
•jobfunction (jobfunction of the current step)
•startdate (start date of the current incident)
•indate (indate of the current step)
•step_escalation_date (escalation date of the current step)
•incident_escation_date (escalation date of the current incident)
•processid (Process ID of the current incident)
•workflowid (workflow ID of the current step)
•step_id, process_step_id, process_step_id_old (process step ID of the current step)
•steplabel (label of the current step)
Example:
…
$startDate = $this->getIncidentValue('startdate');
…