Scheduler substituting variable for Added_User

Scheduler substituting variable for Added_User

When I run the below code from the scheduler, it ignores the value for UserName and inserts the UserName for the Admin user.  I should point out that this is part of a function that I am calling from the schedule.

Is this a known limitation of the Scheduler or is it a defect?

insert into My_Form
        [
            Added_User = input.UserName
            Email_Address = input.Email_Address
            StartDate = tempStartDate
            EndDate = tempEndDate
            Status = input_Status
        ]