web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Triggers for flow and ...
Power Automate
Suggested Answer

Triggers for flow and generating documents

(0) ShareShare
ReportReport
Posted on by 2
I have a flow that generates a problem Root cause document from a list when the selected list item is highlighted and the 'button' selected.

I want to change the trigger so anyone can enter a problem number in a field and this pulls the info 
 
For example a text box or form you enter the problem number in - 12345
 
This then triggers the flow to send the Root Cause Document with the info that is stored in a List.
 
I have the document workflow working, but the id from current 'Form' is not the same as the problem number, so when a problem number is entered i need the flow to
1. cross ref the problem number in the form with the same problem number and ID in the list
2.and then populate the document and send the email (This part works)
 
Any ideas appreciated 
 
Flow =
 
Categories:
I have the same question (0)
  • David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    "I have a flow that generates a problem Root cause document from a list when the selected list item is highlighted and the 'button' selected." Is this the flow in the image or a different flow? If it is a different flow, is the problem number that is created the ID of the list item where it is triggered from? If so, is this the same list you need to get the item from when the form response is submitted? If yes, just wrap the value from your question in an int() expression and use it for the ID in the get item action.
     
    if the answer to everything above is no, I don't understand what you're doing. :-)
  • Suggested answer
    Sam_Fawzi Profile Picture
    750 Super User 2025 Season 2 on at

    Hi  ,

    You will need to modify the flow by adding an action after the trigger to retrieve the correct item based on the problem number entered.

    Update the Trigger:

    • Instead of relying solely on "When a new response is submitted", ensure that the form response includes a field where users enter the Problem Number.

    Retrieve the Response Details:

    • Add the "Get response details" action and select the Form Name.
    • Set the Response ID from the trigger.

    Extract the Problem Number:

    • Use a Compose action with an expression like:
    int(FormQuestionThatProvidesTheProblemNumber)
    
    • ​​​​​This ensures the value is correctly formatted for lookup.

    Find the Corresponding Item in the List:

    Continue the Workflow:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard