If you start workflow automatically using the Workflow > StartWorkflow operation and that your workflow's first node creates a task to the workflow initiator, you need to use in the input chain the User Interface > Raise Seam events operation, with the value workflowNewProcessStarted
for the event name.
If you cancel a workflow automatically using the Workflow > CancelWorkflow operation, you need to use in the input chain the User Interface > Raise Seam events operation, with the value WorkflowInstance.Cancel
for the event name.