# Unable to dynamically update “Service Name” header while generating service-wise Excel reports

**URL:** <https://community.automationedge.com/t/unable-to-dynamically-update-service-name-header-while-generating-service-wise-excel-reports/17790>\
**Category:** Process Studio\
**Tags:** rpa\
**Created:** [April 13, 2026, 4:46pm UTC](https://community.automationedge.com/t/unable-to-dynamically-update-service-name-header-while-generating-service-wise-excel-reports/17790 "2026-04-13T16:46:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pushkraj](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@Pushkraj](https://community.automationedge.com/u/Pushkraj)\
**Post date:** [April 13, 2026, 4:46pm UTC](https://community.automationedge.com/t/unable-to-dynamically-update-service-name-header-while-generating-service-wise-excel-reports/17790/1 "2026-04-13T16:46:40Z")

</div>

Hi everyone,

I am working on generating service-wise Excel reports in a predefined format. The report structure includes fields like WO, District, Technician, Total Cost, and a header section where I need to display the Service Name (e.g., Assess, Deliver, Install, Repair and Replace).

I am able to:

Place all tabular data dynamically

Calculate totals correctly

Generate separate files per service

However, I am facing an issue with dynamically updating the “Service Name” field in the header (Cell B1). See the reference Picture

The service name exists in a different dataset/column, and while generating each service-wise report, I want this header to automatically reflect the corresponding service name.

Problem:  
The header value is not getting updated dynamically even though the rest of the data is working fine.

Requirement:

For each generated report (per service), the header “Service Name” should show the correct service (e.g., Assess, Repair, Install, etc.)

The format/layout of the Excel sheet should remain unchanged

Question:  
What is the best approach to dynamically populate a header field like “Service Name” from another data source while generating formatted Excel reports

 ![Screenshot 2026-04-13 184809](https://canada1.discourse-cdn.com/flex027/uploads/automationedge/original/2X/e/e61523d17051707243aa5dd3bc10e45605c7c06c.png)

---

<div class="post-metadata">

**Author:** ![AETrainings](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@AETrainings](https://community.automationedge.com/u/AETrainings)\
**Post date:** [October 22, 2026, 4:13am UTC](https://community.automationedge.com/t/unable-to-dynamically-update-service-name-header-while-generating-service-wise-excel-reports/17790/2 "2026-10-22T04:13:54Z")

</div>

> [@Pushkraj](#):
>
> I am able to:
> 
> Place all tabular data dynamically
> 
> Calculate totals correctly
> 
> Generate separate files per service
> 
> However, I am facing an issue with dynamically updating the “Service Name” field in the header (Cell B1). See the reference Picture
> 
> The service name exists in a different dataset/column, and while generating each service-wise report, I want this header to automatically reflect the corresponding service name.
> 
> Problem:  
> The header value is not getting updated dynamically even though the rest of the data is working fine.
> 
> Requirement:
> 
> For each generated report (per service), the header “Service Name” should show the correct service (e.g., Assess, Repair, Install, etc.)
> 
> The format/layout of the Excel sheet should remain unchanged
> 
> Question:  
> What is the best approach to dynamically populate a header field like “Service Name” from another data source while generating formatted Excel reports

In AutomationEdge Process Studio, you can dynamically update a header cell (e.g., B1) while populating a separate data table and preserving the Excel template layout. The following approaches can be used depending on your workflow design.

### Approach 1: Two Microsoft Excel Writer Steps (Recommended)

Step 1 – Write the header

- Use a Microsoft Excel Writer step with the template file.
- Set Start writing at cell to `B1`.
- Enable Omit Header and Leave styles of existing cells unchanged.
- Include only the `Service Name` field.

Step 2 – Write the tabular data

- Add a second Microsoft Excel Writer step targeting the same output file and sheet.
- Configure the file and sheet options to Write to existing.
- Set Start writing at cell to `A5` (or your table’s starting cell).
- Map the required data fields and preserve existing cell styles.

### Approach 2: Parent–Child Workflow

This approach is useful when generating separate Excel reports for different services.

- Parent workflow: Group or filter records by `Service Name` and use a Workflow Executor configured to execute for every input row.
- Pass the service name as a parameter to the child workflow.
- Child workflow: Retrieve the parameter using Get Variables and use it to generate the output file name.
- Use the two-writer strategy from Approach 1 to write the service name to `B1` and the corresponding dataset from `A3`.

---

<div class="post-metadata">

**Author:** ![jennifermoore](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jennifermoore](https://community.automationedge.com/u/jennifermoore)\
**Post date:** [November 14, 2026, 5:27pm UTC](https://community.automationedge.com/t/unable-to-dynamically-update-service-name-header-while-generating-service-wise-excel-reports/17790/3 "2026-11-14T17:27:41Z")

</div>

This post was flagged by the community and is temporarily hidden.
