microsoft / powercat-automation-kit

Other
69 stars 18 forks source link

[Automation - BUG] Issue in triggering flows to sync Desktop Flow from Satellite to Main environment #280

Open tiyasasarkar opened 1 year ago

tiyasasarkar commented 1 year ago

Describe the issue

We have checked that some flows (i.e. Sync Desktop Flows) in satellite environment with trigger 'When a row is added, modified or deleted' is not working properly. For update for same flow it is triggering twice and for delete it is not triggering. Please let us know if this is a bug as we find the same issue while using this trigger on Process table for desktop flows .

Expected Behavior

No response

What component are you experiencing the issue with?

Cloud flows

What solution version are you using?

December 2022

What app or flow are you having the issue with?

Sync Desktop Flows

Steps To Reproduce

No response

Anything else?

No response

AB#485

tiyasasarkar commented 1 year ago
image

For example, this cloud flow with the above mentioned trigger is triggering twice for updating each record.

KoteshMCGit commented 1 year ago

As per design, the respective sync cloud flow will trigger for each record (desktop flow action / selector) when add / modify/delete actions on table Desktop Flow DLP Impact Profile. We could notable to re-produce for triggering twice for the same action in the flow. Please send me the more details / specific conditions to validate.

you can verify the logs by opening each run of cloud flow from trigger/body.

Example the flow ran for two actions on same timestamp:

Example screenshot for adding GetsubText Action image

Example screenshot for adding delete file Action image

for Delete action: please ensure that respective cloud flow 'Sync Deleted selector from DLP Profile' is should be turn on. If it is turn off mode , please turn ON.

KoteshMCGit commented 1 year ago

Looking for your comments on my above analysis notes. And still issue is there please send us respective logs/screenshots to do further analysis ASAP.