Skip scheduled workflows in worker

Hi, I use golang temporal sdk and have a scheduled workflows RerunScript and also have simple workflow ExternalDataExportWorkflow. I have registered only ExternalDataExportWorkflow In worker and don’t want to handle RerunScript (another worker will work under it), but have an error “unable to find workflow type: RerunScripts. Supported types: [ExternalDataExportWorkflow]” How to skip handling RerunScript in code? One of workarounds is to use another queue, but I hope that it’s possible to deal with code as I did it in Python temporal sdk.

All workers that listen to a task queue must implement the same set of activities and workflows. Use a different task queue for your use case.

1 Like