Set Text field to empty or blank in SharePoint 2013 designer workflow

Set Text field to empty or blank in SharePoint 2013 designer workflow

In this SharePoint designer workflow examples, we will discuss how we can set text field value to empty in SharePoint 2013 designer workflow (SharePoint workflow set field to empty). Lots of time we may get the requirement to make a textbox to empty string. Here we will discuss how we can do this by using SharePoint designer 2013 workflow. Learn how to set text field to empty SharePoint designer workflow.

Here I was a very simple requirement, after sending one email in the SharePoint designer 2013 workflow, I need to make a text field to empty in the workflow itself. There is an action available in SharePoint designer workflow name as “Set Field in Current Item“. It is easy to set a field value with another field value using this action, but no direct way to set blank or empty in that action in SharePoint designer 2013 workflow.

SharePoint deveopment training course

So here I created a local variable in the workflow with a default value of empty and assign that variable to my text field.

To create a local variable click on the Local variable button in the Ribbon as shown in the fig below:

set text field to empty sharepoint designer workflow
Set Text field to empty or blank in SharePoint 2013 designer workflow

Then in the Workflow Local Variables dialog box, click on Add and then give a name and chose the data type as string and then click on OK. Finally, the local variable dialog box should look like below.

sharepoint workflow set field to empty
SharePoint designer 2013 workflow SharePoint workflow set field to empty

Now add an Action name as Set Field in the current item. Click on the First value link and choose your field name. Then click on the second value link, it will open the Look up a dialog box. In the Data Source: choose Workflow Variables and Parameters. Field From Source: Your workflow variable name that we have created above. And Return Field As String as shown in the fig below:

sharepoint workflow set field to empty
Set Text field to empty or blank in SharePoint 2013 designer workflow

Now your full action should look like below.

set text field to empty sharepoint designer workflow
SharePoint workflow set field to empty

You may like following SharePoint designer workflow examples:

And it should work fine now and it will set field to empty using SharePoint designer workflow.

Hope this SharePoint designer tutorial explains how to set text field to empty in SharePoint designer workflow in SharePoint 2013/2016/Online.

Check out Best Alternative to InfoPath -> Try Now

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)

envelope
envelope

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →