Initiator question

Hello, could someone please point me to documentation on what the Initiator field represents in a temporal workflow execution? How do you make it something other than “Unspecified”? I could not find any information on it and have been searching for a while. I am using Java SDK.


Here are all values for initiator: api/workflow.proto at master · temporalio/api · GitHub

| How do you make it something other than “Unspecified”?
You could run hello cron sample to see it being set to “CronSchedule” or can in your workflow code call continueAsNew, or test a workflow where you explicitly set retry policy and have it retry.
Note this will be populated on continued runs only, not the original execution.

1 Like