I think it only works in Backend Workflows for security reasons, try that