Hi.
I want to expose a lot of Workflow API for external cutomers, but I’m facing 2 limitations:
- I can’t generate dynamically API keys
- I can’t apply quota for these API calls
So I tried to achieve this:
Basically, the Endpoint API immediately triggers the VERIF custom event which verifies the key, quota,… If everything is alright, the process continues up to the first workflow which returns data.
But I can’t make my workflow stop if the key is invalid because using “Terminate this workflow” in a custom event seems to stop the custom event instead of all workflow. Same for the “Return data from API”
What will you do?
And if possible in a way that keeps the workflow pretty light because it needs to not drain the performance
This will be a perfect gift for my Chrismas
Merry Christmas!
Victor