Skip to main content
Nintex Community Menu Bar

How to clear the previous data saved on the list item before the requestor submit again

  • May 24, 2021
  • 3 replies
  • 69 views

Forum|alt.badge.img+2

Hi all,

Scenario: Requestor fills the form and submits. Approver rejects as the products were not available

so requestor can make the changes in the selection of products and resubmits.

So I want to clear the previous data(only selective fields) saved on the list item before the requestor submits the form again.

Please show me insight on this as I am new to Nintex workflows and forms

3 replies

Forum|alt.badge.img+12
  • Rookie
  • May 25, 2021

@Dolly20 when requestor updates the value, can't they remove and select the new ones?

 

If you still wants to go with your request then maybe you can start the workflow conditionally when approver rejects the reject and set those fields to blank using update item.


Forum|alt.badge.img+2
  • Author
  • May 26, 2021
Thank you soo much @kunalpatel

Can we do this with JavaScript or can you please explain in detail how do clear the fields with the condition as you said?
I am completely new to this.

Forum|alt.badge.img+12
  • Rookie
  • May 27, 2021

@Dolly20 ....you need to create the Nintex workflow and:

 

  • In Workflow Settings, trigger workflow when item is modified and select Conditional from drop down and set the condition e.g. Approval Field is Rejected
  • Now in the workflow add Update Item action
    • Select the fields you want to set as blank
    • and leave the value field  as empty