I'm creating a Flow that creates a Task in Planner and then needs to add checkboxes to the task. Adding checkboxes isn't an available Flow action so I have to do this via Graph.
Part of the PATCH requires the If-Match header with the last eTag value, per https://docs.microsoft.com/en-us/graph/api/plannertaskdetails-update.
How do I get the current eTag value after creating the Task in Flow? My Flow consists of:
Manual input task
Create a task (Planner)
Get task details (Planner)
Invoke an HTTP Request (HTTP for AD) w/ PATCH to the previously created Planner task.
My assumption is I need to do another Invoke an HTTP Request action immediately prior to the PATCH using a GET, but how do I then filter for and store the eTag value?
When I use Graph Explorer, the format of the Response Headers is:
cache-control: ...
client-request-id: ...
content-type: ...
etag: ...
request-id: ...
Using https://graph.microsoft.com/v1.0/planner/tasks/<taskid>/details?$select=etag yields an HTTP 400. But beyond that, how would I store that value for consumption in the subsequent Invoke HTTP Request action?
Solved! Go to Solution.
Hi @trevorseward ,
If you could use HTTP to get the specified response, you could try to refer to the following expression to get the contents of Headers output.
Image reference:
Best Regards,
Hi @trevorseward ,
If you could use HTTP to get the specified response, you could try to refer to the following expression to get the contents of Headers output.
Image reference:
Best Regards,
User | Count |
---|---|
38 | |
34 | |
14 | |
13 | |
11 |
User | Count |
---|---|
22 | |
18 | |
17 | |
13 | |
12 |