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


Badge +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

Badge +12

@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.

Badge +2
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.
Badge +12

@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



Reply