You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a global variable named @Transactionid. It should only be assigned a value if I run the request ### approve task! When I use ###, it sets a value for it, which is fine. However, I also set values for this variable in another part of the code.
@Transactionid = {{approveTask.response.body.$.data.transactionId}} //When we reach that line, the value is overwritten because I ran this method once before.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I made a global variable named @Transactionid. It should only be assigned a value if I run the request ### approve task! When I use ###, it sets a value for it, which is fine. However, I also set values for this variable in another part of the code.
@Transactionid = {{completTask.response.body.$.data.transactionId}}
approve task
@name approveTask
PATCH http://localhost:3000/api/v1/task/{{idTask}}/approve
Content-Type: application/json
Authorization: Bearer {{accessTokenDeTask}}
{
}
@Transactionid = {{approveTask.response.body.$.data.transactionId}} //When we reach that line, the value is overwritten because I ran this method once before.
Beta Was this translation helpful? Give feedback.
All reactions