We can create Responses with Status Codes in Server Action Steps. But how can we get the Response Text we have set in the steps to a notification via App Connect?
The reason for this is whenever I set a Response as a Step, I would like to get the error message or Response Text I have set there to notify the users. The Response Text is not in the Server Connect lastError.message and lastError.Response. Or am I missing something?
If you are using a response code in your server action you should find its content in app connect within the data picker in a server connection values in a section called lasterror
Hello @Hyperbytes, Either I am a bit sleepy or wants an instant response from guys like you.
I was able to get the Response Text, and yes, it is lastError.response as what is in your screenshot. I think I have a problem in concatenating the response with my notification message that’s why it doesn’t appear. So sorry to have created this topic without doing anything to troubleshoot from my side.
if you work with form and server action lasterror does.t work. You can see status, but not any message from your response.text (response code 200). But if you use ‘data’ variable instead of ‘status’ you can see this text and do some notifications to user.
This is a 4 years old topic. If you have any issues returning a response from your server connect form, then post a new topic with detailed description.