Skip to content

expired signal URL #1304

Jul 23, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

I can think of three solutions to consider:

  1. We publish an event from the TriggerEndpoint controller (which is invoked when using the signal URL generated by Elsa) - this allows your application to handle the response in case there was no workflow found that was waiting for this signal (which usually means the workflow has moved on to another state, such as when a timeout branch executed).
  2. You implement an action filter for the TriggerEndpoint endpoint to figure out if the response was empty or not. If empty, write back a more appropriate response.
  3. You implement your own controller entirely. This also means you need to generate the signal URL yourself.

I think something like option 1 is …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@sfmskywalker
Comment options

@james987654321
Comment options

@sfmskywalker
Comment options

Answer selected by james987654321
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants