Set Text field to empty or blank in SharePoint 2013 designer workflow
Check out Best Alternative to InfoPath -> Try Now
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.
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:
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.
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:
Now your full action should look like below.
You may like following SharePoint designer workflow examples:
- SharePoint designer workflow examples: Steps to create a Leave Request SharePoint designer workflow in SharePoint Online
- Deploy SharePoint 2013 designer workflow into production in SharePoint online
- SharePoint 2013 designer workflow Add edit task form URL inside an email
- SharePoint 2013 Workflow Impersonation step missing in Designer
- Create SharePoint Site Collection and Site using Nintex Workflow for Office 365
- SharePoint Online Site Workflow and Initiation Form Parameters example using SharePoint designer workflow
- Set People Picker field to empty or blank in SharePoint designer workflow
- How to Trigger Sharepoint 2013 Designer workflow on a list item by calling REST API using jQuery?
- How to add edit task form URL inside SharePoint 2013 designer workflow email?
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.
SharePoint Online FREE Training
JOIN a FREE SharePoint Video Course (3 Part Video Series)