cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper V
Helper V

No CDS trigger for when a new record is OR when a new record is updated. How to get around this?

I can't find a CDS trigger in Flow equivalent to the SharePoint ‘When an item is created or modified’ trigger. Can I just use two separate triggers i.e. When a record is created AND When a record is updated?

 

I need to reference columns of the newly created/updated record later in the Flow. Can I just reference both and one will win out as it were?

 

Or should I just duplicate the Flow with the two different triggers?

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Super User III
Super User III

Hi @Digital 

 

There are no single trigger for created or modified similar like SharePoint. It would have been good 🙂 Like you mentioned the only option is create two separate flows. If you got similar logic then think about create two triggers and call a child flow for the common logic. Yes you will end up having 3 flows but your child flow will handle all the business logic for both flows.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials

View solution in original post

Highlighted

I also posted this question in the PowerApps forum. Thanks to @v-siky-msft and @HSheild  for pointing out there is a trigger for when a record is created, updated or deleted.

 

To get this trigger you need to use the Common Data Service (current environment) connector.

 

Common Data Service ( Current Environment ) connector is only available inside of CDS solution, so you should first enter the solution, and then click New-Flow to create a flow inside the solution.

 

 

Screen Shot 2020-03-26 at 20.45.52.png 

 

View solution in original post

6 REPLIES 6
Highlighted
Super User III
Super User III

Hi @Digital 

 

There are no single trigger for created or modified similar like SharePoint. It would have been good 🙂 Like you mentioned the only option is create two separate flows. If you got similar logic then think about create two triggers and call a child flow for the common logic. Yes you will end up having 3 flows but your child flow will handle all the business logic for both flows.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials

View solution in original post

Highlighted

@abm , thanks, I'll investigate the child flow as the logic is identical. 

Highlighted

I also posted this question in the PowerApps forum. Thanks to @v-siky-msft and @HSheild  for pointing out there is a trigger for when a record is created, updated or deleted.

 

To get this trigger you need to use the Common Data Service (current environment) connector.

 

Common Data Service ( Current Environment ) connector is only available inside of CDS solution, so you should first enter the solution, and then click New-Flow to create a flow inside the solution.

 

 

Screen Shot 2020-03-26 at 20.45.52.png 

 

View solution in original post

Highlighted

Hi @Digital 

 

Yes of course that is available via solutions. So confusing same two connectors. Thanks for pointing out this.

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials
Highlighted

Hi ,

Are you looking for these options: Triggers.JPG

 

It is readily available in CDS(current) connector.

 

Thanks

Highlighted
Frequent Visitor

The flow is not getting triggered for common users and its only working when new item created in cds from admin user. Any permissions to be updated?

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 Kudoed Authors
Users online (7,934)