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 / Check if value exist i...
Power Automate
Suggested Answer

Check if value exist in Json

(1) ShareShare
ReportReport
Posted on by 28
Hi all,
 
I'm new with flows. This is how the first part look like:
 
 
 
I'm getting the job list from BC, and for each project, I must find it in the json I'm getting from the HTTP call. In the check action I'm always getting false, I'm not capable to find the correct way to do it. Probably it's a stupid thing, but I'm getting mad...
 
Thank you all
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,452 Super User 2025 Season 2 on at
    Hi
     
    Need more information as I dont see any details related to the data.
     
    1) Please show the JSOn Data
    2) please show your Condition details so we can compare them to the JSON to tell you why its false each time.
  • aitorNAV Profile Picture
    28 on at
    Thanks for your answer. The body of the output json of the HTTP call is this:
    {
      "data": [
        {
          "value_id": 311,
          "position": 0,
          "is_enabled": 1,
          "is_default": 0,
          "value": "JOB00010 - Remodelación de área de recepción"
        },
        {
          "value_id": 312,
          "position": 1,
          "is_enabled": 1,
          "is_default": 0,
          "value": "JOB00020 - Decorar sala de conferencias"
        },
        {
          "value_id": 313,
          "position": 2,
          "is_enabled": 1,
          "is_default": 0,
          "value": "JOB00030 - Muebles de oficina nuevos"
        }
      ]
    }
     
     
    And the condition I'm using for comparing is
     
    "type": "If",
      "expression": {
        "and": [
          {
            "contains": [
              "@body('HTTP_-_BusinessMap_Custom_Field_Allowed_Values')['data']",
              "@items('Bucle_proyectos_en_BC')"
            ]
          }
        ]
      }
     
    Thank you

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard