Hi,
I have a sharepoint library with content approval enabled. I want a flow to trigger when a file is changed to Approved status.
I am using this trigger condition : @equals(triggerOutputs()?['body/_ModerationStatus'], 'Approved'), but no joy.....
I have also tried these conditions : @equals(triggerOutputs()?['body/ModerationStatus'], 'Approved') & @equals(triggerOutputs()?['body/ModerationStatus'], '0')
But I cant get the trigger to work when I approve a file in the librbary.
Anyone have any ideas? suggestion on what I can do to test or troubleshoot, as I am out of ideas and cant seem to find anything on the googler...
Thanks.