asWorkflowIdOrNull

Casts this TemplateSource as a WorkflowId and retrieves its kotlin.String value. Returns null if the TemplateSource is not a WorkflowId.