HttpEndPoint activity conditional bad request #1260
Unanswered
ricksearcy
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Sure, the easiest way is to simply reconnect from the HTTP Response activity back to the HTTP Endpoint activity. Will that work for your scenario? If not, I’d be curious to hear about your use case. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using the Approval workflow as an example where I create 2 branches for Approve, Reject and each creates an HttpEndPoint activity. I have a use case where under certain conditions I need to return a 400 bad request when someone calls the Approve or Reject endpoints, but I don't want the workflow to move forward or the endpoints to go out of scope. Basically a 400 response, but the workflow remains in the same state as before the request was made. I've tried numerous methods including your example "BrickWallActivity" and "GoBackResult", but nothing I have tried allows the endpoints to remain. Can you point me in the right direction?
Beta Was this translation helpful? Give feedback.
All reactions