Initializing help system before first use

FICO Application Studio Development

FICO® Application Studio is a complete infrastructure and set of tools for developing, deploying, and managing solutions.

To enable development, you need to add the Xpress Executor web service to your Application Studio project. Use the Add Web Reference feature and enter the SOAP web service address for Xpress Executor. Before using this web service in a flow, you need to call the AuthorizeWebService action of the AuthenticationHeader extension. For more information about this web service, see the DMP documentation.

To execute your model, use the execute action. This action takes as its argument an executionRequest record, which has a field inputRecord of record definition type InputRecord. From here you can set the contents of the input record. For example, to set the scalar MyScalarValue of the executionRequest record localExecutionRequest, assign a value to localExecutionRequest.executionRequest.inputRecord.InputRecord.MyScalarValue. Note that the structure of the input and result records can be explored using the Application Studio user interface.

Calling execute only starts the execution of your model. This call returns an executionStatus record from which you can obtain the execution ID, which is used to query all other information about the execution. The execution will be in-progress until the value of the executionStatus.status field has a value other than NOT_COMPLETED. To query its status, use the getExecutionStatus action.

Once the execution has completed, use the getResultRecord action to retrieve the results. The argument passed to the getResultRecord is the execution ID; the return value is a Record with a ResultRecord definition, which contains the tables and scalars written out by the model.

Note Since all values are returned as strings, you need to call TextToDecimal if you want to use these values in mathematical operations.

Finally, delete the execution from Xpress Executor's storage using the deleteExecution action, with the execution ID passed to arg0 parameter.