Need to Capture API Response when Message has "Successful" or "Failed" in body.

Allen12
Tera Guru

I need to get the response from the body of "SUCCESS" or "FAILURE" so I can use the conditions to allow for split actions.

find_real_file.png

This is what we have so far.  It gives a response if communication fails, but I want a response when the transaction fails.

Here is the output log:

find_real_file.png

 

1 ACCEPTED SOLUTION

Allen12
Tera Guru

Here is the solution to my scenario:

I needed to use .includes to capture the "success" or "failure" response from the responseBody.

find_real_file.png

View solution in original post

5 REPLIES 5

Allen12
Tera Guru

Here is the solution to my scenario:

I needed to use .includes to capture the "success" or "failure" response from the responseBody.

find_real_file.png