The context passed to the run function is empty when the workflow is run from the cron trigger, and properly populated when triggered manually from the CLI.
This is likely caused by the MistralContext being initialized as empty here:
https://github.com/openstack/mistral/blob/b8d1e096e4cd5869e868cb7ad7101c52f93ea7d1/mistral/services/periodic.py#L141-L146
The context passed to the run function is empty when the workflow is run from the cron trigger, and properly populated when triggered manually from the CLI.
This is likely caused by the MistralContext being initialized as empty here:
https:/ /github. com/openstack/ mistral/ blob/b8d1e096e4 cd5869e868cb7ad 7101c52f93ea7d1 /mistral/ services/ periodic. py#L141- L146