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
{{ message }}
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.
Located within PostTask, we're getting a PropertyDNE on *Task. We have the other service behaving as expected in our REST client but we're now at the point where we'd like to perform updates.
{
"errors":[ {
"code":5002,
"domain":"%ObjectErrors",
"error":"ERROR #5002: Cache error: <PROPERTY DOES NOT EXIST>zPostTask+5^eReferral.REST.Services.1 *Task,%CSP.BinaryStream",
"id":"CacheError",
"params":["<PROPERTY DOES NOT EXIST>zPostTask+5^eReferral.REST.Services.1 *Task,%CSP.BinaryStream"
]
}
],
"summary":"ERROR #5002: Cache error: <PROPERTY DOES NOT EXIST>zPostTask+5^eReferral.REST.Services.1 *Task,%CSP.BinaryStream"
}
%request.Content is a CSP.BinaryStream, what I don't understand is how %request.Content.Task gets populated. I can understand what's getting passed in will directly influence the Content but I don't even see how this Task serialization happens within the service (as I try to debug this).
Here's my input to the service which is JSON valid and appears to be schema valid based on the sample input provided in the readme:
I even passed in the JSON from the readme (which I knew wouldn't find the task referenced) but it failed in the same place before it could even look it up.
You're getting an error here because %request.Content is %CSP.BinaryStream but EnsLib.Workflow.Worklist is expected. Conversion from %CSP.BinaryStream is done in ConvertRequestBody. Seems like it's not hit for you.
Please provide:
1.$zv
2. Does adding do ..ConvertRequestBody() before set tTaskResponce = %request.Content.Task and recompiling helps?
3. Does Workflow.AbstractREST compile without problems?
You're exactly right! I was cherry picking into my preexisting service and simply missed this line. Sorry for the noise and thanks for the quick response!
Located within PostTask, we're getting a PropertyDNE on *Task. We have the other service behaving as expected in our REST client but we're now at the point where we'd like to perform updates.
%request.Content is a CSP.BinaryStream, what I don't understand is how %request.Content.Task gets populated. I can understand what's getting passed in will directly influence the Content but I don't even see how this Task serialization happens within the service (as I try to debug this).
Here's my input to the service which is JSON valid and appears to be schema valid based on the sample input provided in the readme:
The text was updated successfully, but these errors were encountered: