> For the complete documentation index, see [llms.txt](https://docs.work-relay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.work-relay.com/administration/reports/pre-requisites-for-assigned-to-name-completed-by-name-reporting.md).

# Pre-requisites for assigned to name / completed by name reporting

For the Flow Instance History reports to use Names for assignees and users who have completed the steps, 2 fields need to be added to Flow Instance History object:

`Assigned_To_Name__c` (text 255)

`Completed_By_Name__c` (text 255)

Once added, 2 Apex files need to be added to the Org: an Apex class and a trigger on Flow Instance History object. They are attached below.

{% hint style="info" %}
When deploying these assets to a Production Organization, run following test class to provide coverage: **WR\_BPM.WorkflowTests**
{% endhint %}

{% file src="/files/xcmsaADniOvucJOwBtvF" %}

{% file src="/files/IXGlO29fD0vWTS0x2Bwz" %}
