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

in the Automation Control tab I no longer see record trigger flow #1022

Open
Gustave94 opened this issue Sep 16, 2024 · 7 comments
Open

in the Automation Control tab I no longer see record trigger flow #1022

Gustave94 opened this issue Sep 16, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@Gustave94
Copy link

Describe the bug and steps to reproduce
Hello Everyone,
When i select object and record trigger flow in automation control tab, i see 0 flow

Expected behavior
See flows please :)

Capture d’écran 2024-09-17 à 00 06 53

Browser and operating system:

@Gustave94 Gustave94 added the bug Something isn't working label Sep 16, 2024
@paustint
Copy link
Contributor

This is the query that Jetstream uses to get access to the record triggered flows.

  1. Can you try running this query on the query builder page? (replace "Account" with your object that has a record triggered flow)
  2. Can you confirm that the flow is not part of a managed package?
  3. See the second query below, can you see if that returns anything?

If 1 above returns records, that means there is an issue in the processing of the data.
see screenshot below to see if there are errors posted there

SELECT Id, ManageableState, IsTemplate, ActiveVersionId, Label,
    ApiName, Description, DurableId, IsActive, LastModifiedBy,
    FORMAT(LastModifiedDate), LatestVersionId, ProcessType, TriggerObjectOrEventId,
    TriggerObjectOrEvent.QualifiedApiName, TriggerObjectOrEventLabel, TriggerType,
    (
        SELECT Id, ApiVersion, ApiVersionRuntime, DurableId,
            FORMAT(LastModifiedDate), ProcessType, RunInMode, Description, Label, VersionNumber,
            Status
        FROM Versions
    )
FROM FlowDefinitionView
WHERE TriggerObjectOrEvent.QualifiedApiName IN ('Account')
    AND ManageableState IN ('unmanaged', 'installed')
    AND TriggerType LIKE 'Record%'
ORDER BY TriggerObjectOrEventId, Label

Here is a more laxed query - if above does not return results, then try this and see if it returns results

SELECT Id, ManageableState, IsTemplate, ActiveVersionId, Label,
    ApiName, Description, DurableId, IsActive, LastModifiedBy,
    FORMAT(LastModifiedDate), LatestVersionId, ProcessType, TriggerObjectOrEventId,
    TriggerObjectOrEvent.QualifiedApiName, TriggerObjectOrEventLabel, TriggerType,
    (
        SELECT Id, ApiVersion, ApiVersionRuntime, DurableId,
            FORMAT(LastModifiedDate), ProcessType, RunInMode, Description, Label, VersionNumber,
            Status
        FROM Versions
    )
FROM FlowDefinitionView
WHERE TriggerType LIKE 'Record%'
ORDER BY TriggerObjectOrEventId, Label

If #1 above has results - then I would be curious if there are any errors that show up in the console

@Gustave94
Copy link
Author

Hello, thank you for your message,
i don't found any flow :
Capture d’écran 2024-09-17 à 10 16 49

@paustint
Copy link
Contributor

@Gustave94 - Did you try the second query and did anything show up from this one?

SELECT Id, ManageableState, IsTemplate, ActiveVersionId, Label,
    ApiName, Description, DurableId, IsActive, LastModifiedBy,
    FORMAT(LastModifiedDate), LatestVersionId, ProcessType, TriggerObjectOrEventId,
    TriggerObjectOrEvent.QualifiedApiName, TriggerObjectOrEventLabel, TriggerType,
    (
        SELECT Id, ApiVersion, ApiVersionRuntime, DurableId,
            FORMAT(LastModifiedDate), ProcessType, RunInMode, Description, Label, VersionNumber,
            Status
        FROM Versions
    )
FROM FlowDefinitionView
WHERE TriggerType LIKE 'Record%'
ORDER BY TriggerObjectOrEventId, Label

@Gustave94
Copy link
Author

hello, sorry for my late answer no, still the same message, sorry for my late return, I have the impression that it's linked to my computer or browser, once I tried in private browsing it worked then it didn't work any more.

@paustint
Copy link
Contributor

paustint commented Oct 3, 2024

@Gustave94 - I don't know for sure, but it sounds like this is potentially permissions related.
Your browser shouldn't make a difference, but we will take a look through the code paths to determine if there are any cases that might end up not returning any results.

@Gustave94
Copy link
Author

Hello,
Hope you are fine, please do you have any informations about my issue ?

@paustint
Copy link
Contributor

@Gustave94 - I just sent you an email, please take a look and reply there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants