Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CoE Starter Kit - BUG] Imported + not started flows have no owner #8426

Closed
1 task done
lukas-nC opened this issue Jun 6, 2024 · 9 comments
Closed
1 task done

[CoE Starter Kit - BUG] Imported + not started flows have no owner #8426

lukas-nC opened this issue Jun 6, 2024 · 9 comments
Assignees
Labels
bug Something isn't working coe-starter-kit CoE Starter Kit issues officehourTHANKS

Comments

@lukas-nC
Copy link

lukas-nC commented Jun 6, 2024

Does this bug already exist in our backlog?

  • I have checked and confirm this is a new bug.

Describe the issue

Hi,
i've recognized that a few of my flows are displayed without an owner in the dashboard or admin view app.
These flows have in common that they are imported and have not been active.
The problem seems to be that the Get Flows as Admin action of the Power Automate Management connector does not return any creator information for these flows.

Expected Behavior

Also for these flows the owner should be displayed

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.31

What app or flow are you having the issue with?

SYNC HELPER - Cloud Flows

What method are you using to get inventory and telemetry?

Cloud flows

Steps To Reproduce

  1. Import solution with deactive flows in environment
  2. Let the inventory run
  3. Check the Owner

or

  1. Import solution with deactive flows in environment
  2. Note flow and env Id
  3. Test the Connector
    image

Anything else?

I've not witnessed this with the previous design of the SYNC HELPER - Cloud Flows flow (Core V. 4.22)

AB#3492

@lukas-nC lukas-nC added bug Something isn't working coe-starter-kit CoE Starter Kit issues labels Jun 6, 2024
@RajeevPentyala RajeevPentyala moved this to Todo ✏️ in CoE Starter Kit Jun 6, 2024
@Jenefer-Monroe
Copy link
Collaborator

What region are you in? We did work with the product team to fix this before they re-shipped unpublished flows so I will be sad to see this. I

@lukas-nC
Copy link
Author

lukas-nC commented Jun 6, 2024

Europe

@Jenefer-Monroe
Copy link
Collaborator

Jenefer-Monroe commented Jun 7, 2024

Thank you, it looks like they changed the property to look for to detect unpublished.

Fix is to update the following filters to this expression, hit Edit in advanced mode and put this:
@not(equals(equals(item()?['name'], item()?['properties/workflowUniqueId']), true))

Image
Image

@Jenefer-Monroe Jenefer-Monroe self-assigned this Jun 7, 2024
@Jenefer-Monroe Jenefer-Monroe moved this from Todo ✏️ to Testing 🤞 in CoE Starter Kit Jun 7, 2024
@Jenefer-Monroe
Copy link
Collaborator

testing for June release

@Jenefer-Monroe Jenefer-Monroe moved this from Testing 🤞 to Code complete ☑ in CoE Starter Kit Jun 8, 2024
@github-project-automation github-project-automation bot moved this from Code complete ☑ to Done ✅ in CoE Starter Kit Jun 10, 2024
@Cathi029
Copy link

Cathi029 commented Jun 11, 2024

Hi, I imported the June release today, I triggered the Driver-Flow, but the Kit-Flows are still "orphaned" in the Manage Permission App.
image

@Jenefer-Monroe
Copy link
Collaborator

Shipped with the wrong expression above, sorry. (fixed above too to avoid people copy/pasting wrong)

Expression is @not(equals(equals(item()?['name'], item()?['properties/workflowUniqueId']), true))
In these two places:

Image
Image

@Jenefer-Monroe
Copy link
Collaborator

And this build does not take in unpublished flows, that will require additional work, so after the next run of Check Deleted these will be cleaned up and removed from inventory. Note that these unpublished flows were always a limitation because they were never returned from the product until this change that just broke us

@Cathi029
Copy link

Hi Jenefer-Monroe, thank you for your help!

@Jenefer-Monroe
Copy link
Collaborator

OK thank you for your help on this one. I have re-shipped with this fixed as 4.32.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working coe-starter-kit CoE Starter Kit issues officehourTHANKS
Projects
Status: Done
Development

No branches or pull requests

4 participants