diff --git a/openstack_dashboard/dashboards/project/data_processing/jobs/workflows/launch.py b/openstack_dashboard/dashboards/project/data_processing/jobs/workflows/launch.py index 7f5e831dad..d4eaeb2926 100644 --- a/openstack_dashboard/dashboards/project/data_processing/jobs/workflows/launch.py +++ b/openstack_dashboard/dashboards/project/data_processing/jobs/workflows/launch.py @@ -187,8 +187,10 @@ class JobConfigAction(workflows.Action): if 'params' in job_configs: self.fields['job_params'].initial = ( json.dumps(job_configs['params'])) - job_args = json.dumps(job_configs['args']) - self.fields['job_args_array'].initial = job_args + + if 'args' in job_configs: + self.fields['job_args_array'].initial = ( + json.dumps(job_configs['args'])) if self.MAIN_CLASS in edp_configs: self.fields['main_class'].initial = (