Initializing help system before first use

Using Executor Properties

This section assumes you have an Executor component available in your active FICO DMP Solution. Open the Library and select your Solution containing your Executor component.

The simplest way to specify the Executor component URL and authorization credentials is to define the corresponding properties of your Executor entity, for example:

model DirectInitExample
  uses "executor"
  declarations
    myexecutor: Executor
  end-declarations

  myexecutor.componenturl := "https://vm65j75lqh-vm65j75lqh.dms.usw2.ficoanalyticcloud.com/"
  myexecutor.bearertokenurl := "https://iam-svc.dms.usw2.ficoanalyticcloud.com/registration/rest/client/token"
  myexecutor.clientid := "vm5qh0y37c"
  myexecutor.secret := "wdS97u648BVoI#d3e4g2Z4mP780Y1DLdSDKm"
  ! myexecutor now initialized and can be used
end-model

To find the component URL, navigate to your DMP Solution and open the drop-down menu by clicking the chevron beside the component name and select "View Links". Use the value from the 'REST' field but remove everything after the domain name. For example, if the link displayed is:

https://vm65j75lqh-vm65j75lqh.dms.usw2.ficoanalyticcloud.com/rest/runtime/execution?solutionID=vm5qh0y37c

then use

https://vm65j75lqh-vm65j75lqh.dms.usw2.ficoanalyticcloud.com/

The clientid and secret values for your solution can be found on the "Client Apps" page of the solution screen in DMP. Finally, the bearertokenurl will be the URL from where we will obtain DMP authentication tokens - consult the "Requesting a Bearer Token" page of the DMP documentation for more details.

If you prefer to manage the authentication with DMP yourself, you can alternately initialize the Executor with the component URL and a DMP bearer token, e.g.:

model DirectInitExample
  uses "executor"
  declarations
    myexecutor: Executor
  end-declarations

  myexecutor.componenturl := "https://vm65j75lqh-vm65j75lqh.dms.usw2.ficoanalyticcloud.com/"
  myexecutor.bearertoken := "xyfuehdsoguihUGHifsihf7hi"
  ! myexecutor now initialized and can be used
end-model

However, note you will need to refresh the 'bearertoken' value periodically as the tokens will expire. If you initialize with clientid and secret, the 'executor' module will request new bearer tokens when it needs to.


© 2001-2021 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.