0

I have a non-durable pipeline of three Azure Http Trigger Functions. They pass along a custom json graph in a sequence.

I have started to migrate this to Durable Functions (using the sample as a basis) and it appears that I can just pass the json graph around as a string without using Task<HttpResponseMessage> etc.

Is this the best way with Durable Functions. Could I still keep each function as a HttpTrigger in order to have the flexibility of calling the whole pipeline as Durable but each individual as an HttpTrigger?

1 Answer 1

1

Each function needs to have an ActivityTrigger to work with Durable Functions - and we do not support having multiple triggers for a single function. To keep both options (HTTP Triggered or as part of a Durable orchestration) you would likely need to factor out the common code into a shared method that each function can invoke.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.