Exportd with script arguments

Hi all

I am trying a workaround for the creation of the OpenNMS requisition creation through the onmsctl tool.

I’ve downloaded and installed the tool and i am trying to call it through the ExternalSystemExecuteScript.

The command i am trying to use is the:
onmsctl inv req add Requisition_Name

I’ve created the match condition and tried to call the script through the following:

As i have understood the script will be called and at the end it will append the following:

The type I am using has the following definition:

I’ve also created the json file to allow DataGerry to run the script, however i am getting some errors which do not provide much info e.g.

Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — Extra data: line 1 column 18 (char 17) (service.py)

Any help will be appreciated.