Hi Experts,
Get Training IDs outputs the following:
"value": [
{
"ItemInternalId": "e72b4718-d26e-ec11-8943-000d3a2795b0",
"cref8_opleidingid": "21257806-3e54-442c-885c-49cc0eacdec6",
"versionnumber": 6793516,
"cref8_cursistid": "a08f8fda-f766-ec11-8f8f-000d3a2e7546",
"cref8_opleiding_cref8_cursistid": "e72b4718-d26e-ec11-8943-000d3a2795b0"
},
{
"ItemInternalId": "db03e969-376d-ec11-8943-000d3a279af3",
"cref8_opleidingid": "dc5e1cef-6ddc-488e-a973-a9ef1170eb76",
"versionnumber": 6785275,
"cref8_cursistid": "a08f8fda-f766-ec11-8f8f-000d3a2e7546",
"cref8_opleiding_cref8_cursistid": "db03e969-376d-ec11-8943-000d3a279af3"
},
{
"ItemInternalId": "138e859d-1367-ec11-8f8f-000d3a2e7546",
"cref8_opleidingid": "9ff81e43-3db7-41fd-9a06-b0fbb68ae569",
"versionnumber": 6718200,
"cref8_cursistid": "a08f8fda-f766-ec11-8f8f-000d3a2e7546",
"cref8_opleiding_cref8_cursistid": "138e859d-1367-ec11-8f8f-000d3a2e7546"
}
]
I have a for each loop that contains a "cref8_opleidingid". I want to check if the "cref8_opleidingid" in the loop is inside the Get Training IDs output. How would this be achieved?
I tried the following:
This translates to: If Training IDs output contains ToString(cref8_opleidingid from loop)
It fails every time though. How can I achieve this?
Best Regards,
Anthony
Solved! Go to Solution.
Hi @Anthony_Dob
Before your do until, I would create an array of cref8_opleidingid
And then use your condition to see if the value is contained in this array.
Make sure you change the map of select to text mode.
Then insert the value from the select into the first part of your condition and check if it contains your string.
Please consider accepting my answer as a solution if it helps to solve your problem.
Cheers
Damien
Please take a look and subscribe to my YouTube Channel for more Power Platform ideas and concepts, or take a look at my website. Thanks
Hi @Anthony_Dob
Before your do until, I would create an array of cref8_opleidingid
And then use your condition to see if the value is contained in this array.
Make sure you change the map of select to text mode.
Then insert the value from the select into the first part of your condition and check if it contains your string.
Please consider accepting my answer as a solution if it helps to solve your problem.
Cheers
Damien
Please take a look and subscribe to my YouTube Channel for more Power Platform ideas and concepts, or take a look at my website. Thanks
User | Count |
---|---|
103 | |
36 | |
29 | |
25 | |
16 |
User | Count |
---|---|
136 | |
54 | |
53 | |
36 | |
26 |