I have a request to use existing REST APIs to update a field based on the value of another field. E.G.
If “Status” = “High” Set “Priority” = '1"
Else If "Status = “Normal” Set Priority = 2
Else Set “Priority” = “3”
Can this be done in one Patch operation using query parms/varibales?
Or would it be better to somehow use results of a “GET” to feed multiple "PATCH"s?
Postman allows you to build a workflow with different requests in a collection. The most straightforward way is to do this using two different requests.
Thank you so much @gbadebo-bello - You got me off to a great start. Still lots to learn but I got this conditional update working using collection variables.
This following thread was very helpful too, if anyone else is in my situation: