...
externalReferenceGet
This function fetches an External Reference value from an external source. For information about External References, see External Reference (3.0) in the Desktop user's guide.
Code Block |
---|
string externalReferenceGet (< ext ref profile >, < ext ref key >) |
Note | |
---|---|
title | NoteWarning! If you have a large number of external references, for example, greater than 1000, this may impact the workflow startup and processing. It is therefore recommended that extraction is done using an APL configuration in multiple functions and that extraction is executed in the initialize block of an Analysis agent. |
Info | ||||
---|---|---|---|---|
Example - With a large number of external reverencesreferences If you have a large number of external references, the APL configuration may look as shown below:
It is recommended that you configure an Analysis agent so that extraction is done in the initialize block only extracting the required references for the specific agent, as shown below:
|
Parameter | Description |
---|---|
| The External Reference Profile |
| The External Reference key |
Returns | The External Reference value |
Note! To convert the returned value type from string to another data type, use one of the APL string conversion commands. For further information see Type Conversion Functions(3.0). |
externalReferenceGetList
This function fetches an External Reference value (with value type as List) from an external source. See External Reference (3.0) in the Desktop user's guide.
Code Block |
---|
list<any> externalReferenceGetList (< ext ref profile >, < ext ref key >) |
Parameter | Description |
---|---|
| The External Reference profile |
| The External Reference key Note! The key must have the Value type as List in the profile |
Returns | A list of External Reference values |
externalReferenceGetMap
This function fetches an External Reference value (with value type as Map) from an external source. See External Reference (3.0) in the Desktop user's guide.
Code Block |
---|
map<string, any> externalReferenceGetMap (< ext ref profile >, < ext ref key >) |
Parameter | Description |
---|---|
| The External Reference profile |
| The External Reference key Note! The key must have the Value type as Map in the profile. |
Returns | A map of External Reference key/value pairs |