How could we get the ErrorStatus which holds a Response?
Hello,
We wonder how could we get the following attribute:
.png)
Which is found in the response Header being sent from a Operation to a Process, when there is an exeptionWwe would need to access the Response ErrorStatus text in the Process
We have already tried:
$$$LOGINFO("..%Process.%PrimaryRequestHeader.ErrorStatus: "_..%Process.%PrimaryRequestHeader.ErrorStatus) //It shows "1"
$$$LOGINFO("$System.Status.GetErrorText(..%Process.%PrimaryRequestHeader.ErrorStatus): "_$System.Status.GetErrorText(..%Process.%PrimaryRequestHeader.ErrorStatus)) //It shows an empty stringDiscussion (1)2
Comments
Hi Yone,
If you are using BPL can get this in a catch or catchall activity. Access through context object:
$$$LOGINFO($System.Status.GetErrorText(context.%LastError))
See: