Can I change input of running workflow with signaling? Is there any sample example for this in GO lang
You cannot change input, but you can change a variable that stores the input using a signal. Something like:
func Workflow(ctx workflow.Context, name string) (string, error) {
workflow.Go(ctx, func(ctx workflow.Context) {
ch := workflow.GetSignalChannel(ctx,"InputUpdate")
for {
ch.Receive(ctx, &name)
}
})
...
}