简体   繁体   中英

Can Timer Triggers call Activity Triggers in Azure?

I am creating a timer trigger function that is going to do certain checks. If a certain conditional is hit, I want to send an email and have set this up through an Activity Trigger. I keep getting the error

The function 'activityTriggerName` doesn't exist', additional info: No orchestrator functions are currently registered!.

I am brand new to durable functions and triggers in Azure, any direction on if this is allowed or other ideas would be appreciated.

Activity functions can only be initiated by an Orchestrator. The usual pattern is to have a trigger function create an orchestrator and then the orchestrator initiates one or more activity functions.

If you're using Visual Studio then the Orchestrator template will create a sample which includes an HTTP trigger, an orchestrator and an activity.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM