How to implement Conditional item modification in NWC


Hi Team,

I am replicating onprem nintex workflow functionality in NWC.

In OnPrem, we have conditional start on Item modification, but how can we implement similar functionality in NWC. How can we identify whether workflow is triggering on Item creation or modification?

Please suggest.


11 replies

Userlevel 2
Badge +7

HI @Krishna521 , 


 


there is an option, to use a condition if you select the list:


 



This should do it 🙂 


 


 

Userlevel 6
Badge +16

Hi  @Krishna521 


 


In "Start from" select "SharePoint Online",
In the Event select the Event type


- "New List Items"  (Start when items are created)


- "Update List Items"  (Start when items are modified)


- "New or Update List Item"



Follow @Sven suggestion, should you want to trigger the workflow based on specific conditional values.


 


Cheers

Workflow needs to be triggered both item creation and modification but it should only have condition on item update. How can we do in NWC? Attached screenshot for existing onprem workflow.



 

Userlevel 6
Badge +16

@Krishna521 


 


Click "Start event". Screenshot your settings. 



 

Sharing required screenshots, Site URL and List name will be under configuration.


If we add condition in New/Update list item, it will apply both scenarios. I want condition to be applied only on item update like Onprem. 



 

Userlevel 6
Badge +16

@Krishna521 


I understand what you meant. The condition does apply to both scenarios.


 


Perhaps @Sven being a Nintex Employee is able to clarify better.


 


Anyway, one workaround is to use another condition
New Item - Field "Status" = "New"


OR
Update Item - Field "Status" = "Update" AND Field "RequestStatus" = "Submitted"



 

That's good idea to have Status=New or Update. But where that column exists? Is it default column?

@Sven Any suggestions?

Userlevel 2
Badge +7

HI @Krishna521 , 


 


yeah, thanks for mention me, so -> so what @Garrett said is a great idea. I would do the same.


 


I am not so familiar with sharepoint, so i am not sure if the list item exits.


 


 

@Garrett Status is it default sharepoint column? Seems to be @Sven is not aware of SharePoint.
Userlevel 6
Badge +16

Hi @Krishna521 


You need to create a new (text) Column in SPO. You can rename as you wish. 


The column should have 2 values "New" or "Updated" which you will use in your condition

Reply