How to pass `Job_template_name` or `Job_template_id` to launch_ansible_job?

I’ve tested it by creating a input parameter

image

And also by naming the service_dailog correctly… (I can change it to name if that’s the issue here and update the ruby code to pass the name if that’s the issue here)

image

But none of it works and I still get the Job Template not specified (RuntimeError)

[----] I, [2021-12-16T04:41:48.970351 #336:2ab6ee019954]  INFO -- automation: Q-task_id([r224_miq_provision_344]) <AEMethod [/TEST/AutomationManagement/AnsibleTower/Operations/StateMachines/Job/wait_for_ip]> Ending
[----] I, [2021-12-16T04:41:48.993258 #336:2ab6ee019954]  INFO -- automation: Q-task_id([r224_miq_provision_344]) Invoking [inline] method [/TEST/AutomationManagement/AnsibleTower/Operations/StateMachines/Job/launch_ansible_job] with inputs [{"job_template_id"=>12}]
[----] I, [2021-12-16T04:41:48.994785 #336:2ab6ee019954]  INFO -- automation: Q-task_id([r224_miq_provision_344]) <AEMethod [/TEST/AutomationManagement/AnsibleTower/Operations/StateMachines/Job/launch_ansible_job]> Starting
[----] E, [2021-12-16T04:41:49.278559 #336:2ab6f4fa7104] ERROR -- automation: Q-task_id([r224_miq_provision_344]) <AEMethod launch_ansible_job> The following error occurred during method evaluation:
[----] E, [2021-12-16T04:41:49.279099 #336:2ab6f4fa7104] ERROR -- automation: Q-task_id([r224_miq_provision_344]) <AEMethod launch_ansible_job>   RuntimeError: Job Template not specified
[----] E, [2021-12-16T04:41:49.281700 #336:2ab6f4fa7104] ERROR -- automation: Q-task_id([r224_miq_provision_344]) <AEMethod launch_ansible_job>   /TEST/AutomationManagement/AnsibleTower/Operations/StateMachines/Job/launch_ansible_job:90:in `job_template'
/TEST/AutomationManagement/AnsibleTower/Operations/StateMachines/Job/launch_ansible_job:26:in `main'
[----] E, [2021-12-16T04:41:49.284574 #336:2ab6f4fa7410] ERROR -- automation: Method STDERR: /TEST/AutomationManagement/AnsibleTower/Operations/StateMachines/Job/launch_ansible_job:90:in `job_template': Job Template not specified (RuntimeError)
[----] E, [2021-12-16T04:41:49.284834 #336:2ab6f4fa7410] ERROR -- automation: Method STDERR: from /TEST/AutomationManagement/AnsibleTower/Operations/StateMachines/Job/launch_ansible_job:26:in `main'
[----] E, [2021-12-16T04:41:49.285121 #336:2ab6f4fa7410] ERROR -- automation: Method STDERR: from /TEST/AutomationManagement/AnsibleTower/Operations/StateMachines/Job/launch_ansible_job:160:in `<main>'
[----] I, [2021-12-16T04:41:49.290408 #336:2ab6ee019954]  INFO -- automation: Q-task_id([r224_miq_provision_344]) <AEMethod [/TEST/AutomationManagement/AnsibleTower/Operations/StateMachines/Job/launch_ansible_job]> Ending