on 2021 Sep 17 9:39 AM
Hello!
I have a question in SCPI
I have an IFLOW HTTP - HTTP, if the sending fails I have an "Exception Subprocess" that sends the error that occurred to the sender. (Ex: I send by POSTMAN and with this "Exception Subprocess" I get the type of error that I had in the sending, 400,401,403 ... and the text of the error).
I have a "content Modifier" with a body, importing the header and the exception message inside the "Exception Subprocess".
But the IFlow (failed) is showing on my monitor as "completed" I think it is because I am sending the error that I had.
Is there a way that after sending the error message (because it has failed) the IFLOW will show as failed?
Thanks!
Best Regards!
Request clarification before answering.
Hi cristian_gallego,
Kindly end the message in Exception Subprocess with Error End Event.
You can find more details here.
Regards,
Sunny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sunny.kapoor2
If I change it to Error End Event, in SCPI I will have it failed (It is correct), but in the "Sender" (Postman in this case) I will always have a 500 error. Currently with the "End Message" the error (400,401...) is sent to the "Sender" (POSTMAN) but I see my IFLOW as "Completed"(this is wrong).
Thanks and Regards!
Cristian Gallego Gonzalez
Cristian,
Did you find a way to achieve that? We are trying and I don't seem to find a way to achieve that.
Thanks,
Hemant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi tirumareddy.praveen
I think it's the same suggestion sunny.kapoor2 told me, y copy you me, I copy the answer.
If I change it to Error End Event, in SCPI I will have it failed (It is correct), but in the "Sender" (Postman in this case) I will always have a 500 error. Currently with the "End Message" the error (400,401...) is sent to the "Sender" (POSTMAN) but I see my IFLOW as "Completed"(this is wrong).
Thanks and Regards!
Up to 20 errors can be stored in each interface-specific error queue (one each for GPIB, USB, VXI-11, and Telnet/Sockets.) Errors appear in the error queue of the I/O session that caused the error. The instrument beeps once each time a command syntax or hardware error is generated.
Hope You Find This Useful,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Seems like CPI can't do that.
It cannot handle an error with a custom response code and log an error to itself at the same time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
50 | |
9 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.