How to register listener using WorkflowStatusListener interface of OSS/Netflix Conductor #8
Replies: 1 comment
-
Hey @PaulPheonix06 did you come to any conclusion on this? I have found this PR referenced from the official docs Netflix/conductor#1017 (comment) but it is not clear what needs to be done to enable it? Update: In order to enable of the existing WorkflowListener we need to set the following configuration Hope this helps someone else :) |
Beta Was this translation helpful? Give feedback.
-
Custom listener registration for Netflix Conductor to trigger upon workflow completion but not functioning as expected.
How can I register a custom listener in my code that should trigger when Netflix Conductor finishes executing a workflow? It seems that the listener is not being invoked upon workflow completion, even though I have set workflowStatusListenerEnabled to true. Am i missing anything?
Below is the code for my Custom Listener :
`import com.netflix.conductor.common.run.Workflow;
import com.netflix.conductor.common.run.Workflow.WorkflowStatus;
import com.netflix.conductor.core.listener.WorkflowStatusListener;
import com.netflix.conductor.model.WorkflowModel;
import org.springframework.stereotype.Component;
@component
public class MyWorkflowStatusListener implements WorkflowStatusListener {
}`
Beta Was this translation helpful? Give feedback.
All reactions