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

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Using and Integer variaible but it is applying to all so sendign contracts to ALL vendors every time an item is modified!

(0) ShareShare
ReportReport
Posted on by 4

Hi!

 

I'm in a real pickle. I have created a flow that sends a docusign envelope to a vendor when their vendor application is approved. The application is completed on Cognito Forms, reviewed and approved via a Power App and updated on a SharePoint List. The 'status' column properties is 'choice' changes to '4' when approved.

-1 - submitted
0 - awaiting review
1 - returned for editing
2 - awaiting approval
3 - rejected
4 - approved

 

The problem is, I have realised, that now every time the status changes on any application to '4' (approved), all of the list rows containing '4' receive the contract again. It's a disaster!

I have the same question (0)
  • abm abm Profile Picture
    32,585 Most Valuable Professional on at
    Re: Using and Integer variaible but it is applying to all so sendign contracts to ALL vendors every time an item is modified!

    Hi @Dylan_Evans 

     

    Could you please post a screenshot of your flow?

     

    Thanks

  • Dylan_Evans Profile Picture
    4 on at
    Re: Using and Integer variaible but it is applying to all so sendign contracts to ALL vendors every time an item is modified!

    Flow Image.JPG

    Thanks!

  • abm abm Profile Picture
    32,585 Most Valuable Professional on at
    Re: Using and Integer variaible but it is applying to all so sendign contracts to ALL vendors every time an item is modified!

    Hi @Dylan_Evans 

     

    Thanks for the screenshot. Do you need the Get Items? If it is then make sure it is filtered against the identifier (id) from the trigger. Most likely your Get Items are returning all the records. Check you are using the correct filter to get the record.

     

    Thanks

  • Verified answer
    v-litu-msft Profile Picture
    on at
    Re: Using and Integer variaible but it is applying to all so sendign contracts to ALL vendors every time an item is modified!

    Hi @Dylan_Evans,

     

    According to your first reply and the screenshot, it seems like the Get items action filters out all items which 'status' equals to 4, right? Then the Apply to each would send contract to these items.

    If no necessary, you could try to remove the Get items and try it again.

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 666 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 382 Moderator

#3
developerAJ Profile Picture

developerAJ 254

Last 30 days Overall leaderboard