setInputParameter method: ServiceAPI class

Syntax

setInputParameter(parameter_name,parameter_type)

Description

Use this method to set input value based on parameter defined on the application service.

Parameters

Parameter Description

parameter_name

Specifies the name of the input parameter (as a string).

parameter_type

Specifies the type of the input parameter (as Any).

Values can be the following:

  • Boolean

  • Date

  • Document

  • Integer

  • JSON Object

  • Number

  • Number Array

  • String

  • String Array

  • Time

Returns

None.

Example

%This.ServiceAPI.setInputParameter("conditions", &state);