You can create a custom form that saves HR incident actions. Two fields are available:
- Status: A drop-down list that includes the options Open, Closed, and In Progress
- Action: A drop-down list that’s configurable in HR Admin > HR Incidents in the HR Incident Actions tab
When a form that includes these fields is processed, the data is saved to the Status and Action fields in the Employment > HR Incidents screen of People.
The following sample demonstrates the addition of HR incident fields:
Copy
<!--HRIncidentStatus-->
<Label>
<Style>IVLabel</Style>
<Block>1</Block>
<Row>3</Row>
<Column>1</Column>
<Caption>lblHRIncidentState</Caption>
<MarkAsRequired>false</MarkAsRequired>
</Label>
<Field>
<Style>IVComboBox</Style>
<Block>1</Block>
<Row>4</Row>
<Column>1</Column>
<BindingProperty>List_EmployeeHRIncident.HRIncidentState</BindingProperty>
<DataProvider>HRIncidentState</DataProvider>
<IsRequired>false</IsRequired>
</Field>
<!--HRIncidentAction-->
<Label>
<Style>IVLabel</Style>
<Block>1</Block>
<Row>3</Row>
<Column>2</Column>
<Caption>blHRIncidentAction</Caption>
<MarkAsRequired>false</MarkAsRequired>
</Label>
<Field>
<Style>IVComboBox</Style>
<Block>1</Block>
<Row>4</Row>
<Column>2</Column>
<BindingProperty>List_EmployeeHRIncident.HRIncidentAction</BindingProperty>
<DataProvider>HRIncidentAction</DataProvider>
<DisplayMemberPath>ShortName</DisplayMemberPath>
<IsRequired>false</IsRequired>
</Field>