hello
I have found that the output contains five “body” entries. I would like to extract the state from each “body” where the state is equal to “pièce,” “titre,” or “pass.” Could you please advise on how I can achieve this?
Welcome to the Make community!
Please provide the output bundles of the above module by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
A. Upload as Text File
Save each bundle contents in your text editor as a bundle.txt
file, and upload it here into this discussion thread.
B. Insert as Formatted Code Block
If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:
-
Method 1: Type code block manually
Add three backticks
```
before and after the content/bundle, like this:```
content goes here
``` -
Method 2. Highlight and click the format button in the editor
Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.
This will allow others to better assist you. Thanks!
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!
[
{
“body”: [
{
“id”: 26427,
“create_uid”: {
“id”: 27295,
“value”: “B”
},
“partner_id”: {
“id”: 31472,
“value”: “B”
},
“company_id”: {
“id”: 2,
“value”: “D”
},
“state”: “validated”,
“name”: “national_identity_card_front”
},
{
“id”: 26374,
“create_uid”: {
“id”: 5048,
“value”: “P”
},
“partner_id”: {
“id”: 31472,
“value”: “B”
},
“company_id”: {
“id”: 1,
“value”: “”
},
“state”: “validated”,
“name”: “national_identity_card_back”
},
{
“id”: 26373,
“create_uid”: {
“id”: 27295,
“value”: “B”
},
“partner_id”: {
“id”: 31472,
“value”: “B”
},
“company_id”: {
“id”: 2,
“value”: “”
},
“state”: “validated”,
“name”: “national_identity_card_front”
}
],
“headers”: {
“date”: “Thu, 05 Sep 2024 21:45:19 GMT”,
“content-type”: “text/xml; charset=utf-8”,
“content-length”: “2469”,
“connection”: “close”,
“server”: “Odoo.sh”,
“x-content-type-options”: “nosniff”
},
“statusCode”: 200
}
]
@samliew