This functionality described here is only available at certain configuration levels. Info / Copyright

Engineering.SetParameterValueFromJsonCommand

Note:

This command can only be used in the Job Server environment with webserviceTrigger.

Saves the contents of a JSON structure as a map in a parameter. The JSON structure is transferred to the Job Server as POST data.

The following variants are possible for using the command:

The following variant of the command writes the contents of the JSON structure into the parameter whose name is defined in the model variables. The parameter must be contained in the project component of the uppermost level.

Argument Type Description
jsonData Object Project or project component.

The following variant of the command writes the contents of the JSON structure into the parameter whose name is defined in the model variables. The parameter must be included in the specified project component.

Argument Type Description
jsonData Object Project or project component.
componentPath String Path to the project component.

The following variant of the command writes the contents of the JSON structure into the parameter, whose name is transferred. The parameter must be included in the specified project component.

Argument Type Description
jsonData Object Map or Array
componentPath String Path to the project component.
parameterName String Name of the parameter.

The following variant of the command writes the contents of the JSON structure into the parameter whose name is defined in the model variables. The parameter must be included in the specified project component.

Argument Type Description
jsonData Object Map or Array
obj Object Project or project component.

The following variant of the command writes the contents of the JSON structure into the parameter, whose name is transferred. The parameter must be included in the specified project component.

Argument Type Description
jsonData Object Map or Array
obj Object Project or project component.
parameterName String Name of the parameter.

More: