The following code sample shows an example of how to include effective start dates that apply to the employee's role and work assignment on a custom workflow form.
Copy
<!-- Role Hire Date -->
<Field>
<Style>IVDatePicker</Style>
<Row>1</Row>
<Column>0</Column>
<BindingProperty>RoleEffectiveStart</BindingProperty>
<Visible>true</Visible>
<IsRequired>true</IsRequired>
<InitialValue>function:today</InitialValue>
</Field>
<!-- Work Assignment Hire Date -->
<Field>
<Style>IVDatePicker</Style>
<Row>1</Row>
<Column>1</Column>
<BindingProperty>WorkAssignmentEffectiveStart</BindingProperty>
<Visible>true</Visible>
<IsRequired>false</IsRequired>
<InitialValue>function:today</InitialValue>
</Field>