Add an output to the CDS New Environment trigger so it returns a value in the output body with an indicator value of whether it was a create, update or delete.
So we don't have to do the steps I outlined in my blog post here: https://www.crminnovation.com/blog/power-automate-flow-cds-new-environment-triggering-event/
There is a SdkMessage parameter in the Output body with the value 'Create', 'Update' or 'Delete' for the respective trigger.
@LinnZawWin however it isn't available as dynamic content and it can't be used in a switch case. It is not what is needed.
It'd be great if the PG team can include that as part of the Dynamic Content for the users to easily choose.
Before it has been implemented, we can use triggerOutputs()?['body']?['SdkMessage'] as a workaround solution and it can be used in Switch case too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.