Need help with assign variables problem

What I had done is that I changed the name of the columns and then it throws this error.

1 Init State/1.13 PrepareDataToBeProcessed.xaml: The activity 'Assign Variables - Data of Hard Close Row - Monthly' cannot reference activity 'VisualBasicValue<Object>' because activity 'VisualBasicValue<Object>' is already referenced elsewhere in the workflow and that reference is not visible to activity 'Assign Variables - Data of Hard Close Row - Monthly'. In order for activity 'VisualBasicValue<Object>' to be visible to activity 'Assign Variables - Data of Hard Close Row - Monthly', it would have to be a child or imported child (but not an implementation child) of activity 'DynamicActivity'. Activity 'VisualBasicValue<Object>' is originally referenced by activity 'Assign Variables - Data of Hard Close Row - Monthly' and activity 'Assign Variables - Data of Hard Close Row - Monthly' is in the implementation of activity 'DynamicActivity'.

HI,

It seems the xaml file is corrupted. probably it’s necessary to modify it directly using text editor, or re-create the xaml file…
If you can share the file, we might be able to check it.

Regards,

Will it work if I create a new xaml, ctrl+a and copy all of the activities into the new xaml file?

HI,

I’m not sure but it’s worth a try.

Regards,

I have tried and it doesnt work, same error still occurs

HI,

If you can edit your workflow in Studio, can you try to put new assign activity and input your expression, then delete old one?

Regards,

If you have changed the column name in the excel file then delete your data table and generate it again it will resolve your issue.

If you have updated the column value of the data table then again delete the data table and create a new one with the updated column.

This will work for you.