cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

How to get the column name in workflow?

Jump to solution

I have a workflow which needs using column name (Internal Name) in mail notification or task . I can see the column name will changed quite often. Is it possible get the column name (not item value) in workflow then i don't need modify the workflow when the column name is changed.

Reply
6 Replies
Workflow Hero

Re: How to get the column name in workflow?

Jump to solution

Hi Steve,

I am not clear why the column name changes quite often? Has anyone changing ? 

And as per my knowledge, if a column name (display name) changed, the workflow automatically reflect this change.

Thanks,

Krishna.

0 Kudos
Reply
Workflow Hero

Re: How to get the column name in workflow?

Jump to solution

I have some columns which named (IT manager, Finance manager or HR department), but this Title and department name changed every 3 or 4 month in this company for last 3 years, I need using this name in mail notification or Felix task notification and task name.

Yes, workflow will reflect this change when you pick it (you can see the name is changed), but how to using this display name in workflow? ex. mail notification or task notification. when I pick it into notification it will show field's value but not  the column display name when people received the mail.

0 Kudos
Reply
Workflow Hero

Re: How to get the column name in workflow?

Jump to solution

I would say to create another list called, "Configurations", create 2 columns, "Column Name", "Display Name".

In your workflow, query the configuration list to get the "Display Name" for given "Column Name".

And every time (like every 3 or 4 months), update this "Configurations" list for any changes, the workflow automatically read the changed "display name" values for the given "column name".

Hope it helps.

Thanks

Krishna.

0 Kudos
Reply
Workflow Hero

Re: How to get the column name in workflow?

Jump to solution

When you create a new column, SharePoint sets the Internal Name, and from that point, it never changes. 

This is true even if you change the name of the readable name of the Column, the Internal Name will stay the same. 

If you create a NEW column called "MyNewColumn"

You can see that the Internal Name = "MyNewColumn":

If you Change the Column Name to something else like "MyChangedColumn", the Internal Name will remain the same.



Does this answer your question? 

0 Kudos
Reply
Workflow Hero

Re: How to get the column name in workflow?

Jump to solution

I see, thanks for your explanation

0 Kudos
Reply
Workflow Hero

Re: How to get the column name in workflow?

Jump to solution

Yes, that's will be an option, but can i use Call Web service to get this Column Name?

0 Kudos
Reply