Hi All, can anyone with better knowledge please help?
I am trying to pass a Json to a power automate from powerapps, but an array of object keeps getting sent, even when I enclose the passed object in a JSON. I am passing this;
Set(
response,
Update_doc_tag.Run(
JSON(
{
metadata_storage_path: galleryResults.Selected.metadata_storage_path,
tags: (Tags).Value
}
)
).response
);
The tags above is a collection of strings And the expected schema in power automate is this:
{
"metadata_storage_path": "fsdfFSDGDGSAHGDHASHJSDAJHDSAJHASHSASA2",
"tags": [
"victor",
"ricky"
]
}
But it gets to power automate like this:
"metadata_storage_path": "ywttwetewwehhjhajdjhjddds",
"tags": [
{
"Value": "schools"
},
{
"Value": "jobs"
},
{
"Value": "victor"
}
]
which causes a failed schema error.
Can someone please help with how to pass an array of strings in the tags, please?
Thanks
@RandyHayes @RezaDorrani