cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Need help with Sharepoint list- Trigger Modified NOT created

Hi all 

 

hope you can help with this

 

I need to create a document workflow with Plumsail but I only want it to trigger when a sharepoint list is modified (NOT created) otherwise its duplicated.

 

I've done a lot of research and everything works except the modified list trigger. Please an anyone help?  Here are some screenshots:

 

Adam_Lpl_0-1593808680742.png

 

 

Adam_Lpl_1-1593808759695.png

 

The condition equation used is - 

equals(triggerBody()?['Created'], triggerBody()?['Modified'])  - Is equal to   -  Modified
 
Would really appreciate some help if possible.
 
Thanks in advance
 
 
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User III
Dual Super User III

This is how I've done it in the past  Use this condition.  If true just exit the flow if false then the item is modified.  Using the actual dynamic content seems to work better than a formula.  Also make sure to put Modified on the left side.image.png



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

3 REPLIES 3
Highlighted
Dual Super User III
Dual Super User III

This is how I've done it in the past  Use this condition.  If true just exit the flow if false then the item is modified.  Using the actual dynamic content seems to work better than a formula.  Also make sure to put Modified on the left side.image.png



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Highlighted

Works perfectly! I can't quite get my head around why Modified equals Created works but it does!  Thanks the guidance.  

Highlighted
Dual Super User III
Dual Super User III

It works because when a new item is created the creation date becomes the last modified date.  So the only time they both match is when an item is first created.  When it is later modified the modified date will be updated, but the created date never is.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (10,006)