Skip to main content
Nintex Community Menu Bar

How to implement Conditional item modification in NWC

  • August 24, 2022
  • 11 replies
  • 147 views
  • Translate All

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

Sven
Forum|alt.badge.img+7
  • Novice
  • August 24, 2022

HI @Krishna521 , 

 

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

 

This should do it 🙂 

 

 

Translate

Garrett
Forum|alt.badge.img+16
  • Scout
  • August 24, 2022

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

Translate

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.

 

Translate

Garrett
Forum|alt.badge.img+16
  • Scout
  • August 24, 2022

@Krishna521 

 

Click "Start event". Screenshot your settings. 

 

Translate

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. 

 

Translate

Garrett
Forum|alt.badge.img+16
  • Scout
  • August 24, 2022

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

 

Translate

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

@Sven Any suggestions?

Translate

Sven
Forum|alt.badge.img+7
  • Novice
  • August 24, 2022

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.

 

 

Translate

@Garrett Status is it default sharepoint column? Seems to be @Sven is not aware of SharePoint.
Translate

Garrett
Forum|alt.badge.img+16
  • Scout
  • August 24, 2022

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

Translate