---
category: [Administration & Integrations, Platform and Product Extensions, Platform and Product Extensions/Integration, Administration & Integrations/Custom Integrations & Apps]
keyword: [Integrate, Workday Integration, Orchestrate for Integrations, Orchestration, Orchestration Builder]
nav: wcp_docs
parent_url: /wcp_docs/
title: >- 
  Reference: Intsys Global Functions
layout: subsection
---

Qualifier: `intsys`

<table><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td>attachmentContent</td><td>Arguments: <ul><li>attachmentServiceName (String)
</li></ul> Return Type: <ul><li>Data
</li></ul> Returns the binary content of the attachment in the specified attachment service. Throws an exception if no such attachment service exists.</td></tr><tr><td>attachmentFileID</td><td>Arguments: <ul><li>attachmentServiceName (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the file ID of the attachment in the specified attachment service. Throws an exception if no such attachment service exists.</td></tr><tr><td>attachmentFileName</td><td>Arguments: <ul><li>attachmentServiceName (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the file name of the attachment in the specified attachment service. Throws an exception if no such attachment service exists.</td></tr><tr><td>attachmentServices</td><td>Arguments: <ul><li>None
</li></ul> Return Type: <ul><li>StringList
</li></ul> Returns the names of all attachment services.</td></tr><tr><td>attributeExists</td><td>Arguments: <ul><li>attributeName (String)
</li></ul> Return Type: <ul><li>Boolean
</li></ul> Returns true if an attribute with the specified name exists.</td></tr><tr><td>attributeExists</td><td>Arguments: <ul><li>attributeName (String)
</li></ul> <ul><li>serviceName (String)
</li></ul> Return Type: <ul><li>Boolean
</li></ul> Returns true if an attribute with the specified name exists in the specified integration service.</td></tr><tr><td>attributeNames</td><td>Arguments: <ul><li>None
</li></ul> Return Type: <ul><li>StringList
</li></ul> Returns the names of all attributes.</td></tr><tr><td>attributeType</td><td>Arguments: <ul><li>attributeName (String)
</li></ul> Return Type: <ul><li>Number
</li></ul> Returns the type of the specified attribute: <ul><li>1 for Text
</li><li>2 for Date
</li><li>3 for DateTime
</li><li>4 for Number
</li><li>5 for Boolean
</li><li>6 for Instance Reference
</li><li>7 for Environment Reference
</li></ul> Throws an exception if no such attribute exists.</td></tr><tr><td>attributeType</td><td>Arguments: <ul><li>attributeName (String)
</li><li>serviceName (String)
</li></ul> Return Type: <ul><li>Number
</li></ul> Returns the type of the specified attribute in the specified integration service: <ul><li>1 for Text
</li><li>2 for Date
</li><li>3 for DateTime
</li><li>4 for Number
</li><li>5 for Boolean
</li><li>6 for Instance Reference
</li><li>7 for Environment Reference
</li></ul> Throws an exception if there no such attribute or service exists.</td></tr><tr><td>booleanAttributeValue</td><td>Arguments: <ul><li>attributeName (String)
</li></ul> Return Type: <ul><li>Boolean
</li></ul> Returns the boolean value of the specified attribute. Throws an exception no such attribute exists.</td></tr><tr><td>booleanAttributeValue</td><td>Arguments: <ul><li>attributeName (String)
</li><li>serviceName (String)
</li></ul> Return Type: <ul><li>Boolean
</li></ul> Returns the boolean value of the specified attribute in the specified integration service. Throws an exception if no such attribute exists.</td></tr><tr><td>booleanAttributeValueOrDefault</td><td>Arguments: <ul><li>attributeName (String)
</li><li>defaultValue (Boolean)
</li></ul> Return Type: <ul><li>Boolean
</li></ul> Returns the boolean value of the specified attribute if it exists and a value is defined. Otherwise returns the specified default.</td></tr><tr><td>booleanAttributeValueOrDefault</td><td>Arguments: <ul><li>attributeName (String)
</li><li>serviceName (String)
</li><li>defaultValue (Boolean)
</li></ul> Return Type: <ul><li>Boolean
</li></ul> Returns the boolean value of the named attribute in the specified integration service if it exists and a value is defined. Otherwise returns the specified default.</td></tr><tr><td>booleanAttributeValueWithDefault</td><td>Arguments: <ul><li>attributeName (String)
</li><li>defaultValue (String)
</li></ul> Return Type: <ul><li>Boolean
</li></ul> Returns the boolean value of the specified attribute if it exists. Otherwise returns the specified default.</td></tr><tr><td>booleanAttributeValueWithDefault</td><td>Arguments: <ul><li>attributeName (String)
</li><li>serviceName (String)
</li><li>defaultValue (String)
</li></ul> Return Type: <ul><li>Boolean
</li></ul> Returns the boolean value of the specified attribute in the specified integration service if it exists. Otherwise returns the specified default.</td></tr><tr><td>integrationServiceExists</td><td>Arguments: <ul><li>integrationServiceName (String)
</li></ul> Return Type: <ul><li>Boolean
</li></ul> Returns true if an integration service with the specified name exists.</td></tr><tr><td>mapContains</td><td>Arguments: <ul><li>mapName (String)
</li><li>key (String)
</li></ul> Return Type: <ul><li>Boolean
</li></ul> Returns true if the specified map contains a mapping for the specified key. Throws an exception if no such map exists.</td></tr><tr><td>mapContains</td><td>Arguments: <ul><li>mapName (String)
</li><li>key (String)
</li><li>referenceType (String)
</li></ul> Return Type: <ul><li>Boolean
</li></ul> Returns true if the specified map contains a mapping for the specified key and specified reference type. Throws an exception if no such map exists.</td></tr><tr><td>mapDefaultValue</td><td>Arguments: <ul><li>mapName (String)
</li></ul> Return Type: <ul><li>Boolean
</li></ul> Returns the default value of the specified map. Throws an exception if no such map exists or if the map doesn't have a default.</td></tr><tr><td>mapExists</td><td>Arguments: <ul><li>mapName (String)
</li></ul> Return Type: <ul><li>Boolean
</li></ul> Returns true if a map with the specified name exists.</td></tr><tr><td>mapHasDefaultValue</td><td>Arguments: <ul><li>mapName (String)
</li></ul> Return Type: <ul><li>Boolean
</li></ul> Returns true if the specified map has a default value. Throws an exception if no such map exists.</td></tr><tr><td>mapIsEmpty</td><td>Arguments: <ul><li>mapName (String)
</li></ul> Return Type: <ul><li>Boolean
</li></ul> Returns true if the specified map is empty (regardless of whether it has a default).</td></tr><tr><td>mapLookup</td><td>Arguments: <ul><li>mapName (String)
</li><li>key (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the value for the specified key in the specified map. Otherwise returns the map's default, if one exists. Throws an exception if the map doesn't exist, or if no such mapping exists and the map doesn't have a default.</td></tr><tr><td>mapLookup</td><td>Arguments: <ul><li>mapName (String)
</li><li>key (String)
</li><li>referenceType (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the value for the specified key and reference type in the specified map. Otherwise returns the map's default, if one exists. Throws an exception if the map doesn't exist, or if no such mapping exists and the map doesn't have a default.</td></tr><tr><td>mapLookupType</td><td>Arguments: <ul><li>mapName (String)
</li><li>key (String)
</li><li>referenceType (String)
</li></ul> Return Type: <ul><li>Number
</li></ul> Returns the type of the value for the specified key in the specified map: <ul><li>1 for Text
</li><li>2 for Date
</li><li>3 for DateTime
</li><li>4 for Number
</li><li>5 for Boolean
</li><li>6 for Instance Reference
</li><li>7 for Environment Reference
</li></ul> Throws an exception if the map doesn't exist, or if no such mapping exists.</td></tr><tr><td>mapLookupType</td><td>Arguments: <ul><li>mapName (String)
</li><li>key (String)
</li><li>referenceType (String)
</li></ul> Return Type: <ul><li>Number
</li></ul> Returns the type of the value for the specified key and reference type in the specified map: <ul><li>1 for Text
</li><li>2 for Date
</li><li>3 for DateTime
</li><li>4 for Number
</li><li>5 for Boolean
</li><li>6 for Instance Reference
</li><li>7 for Environment Reference
</li></ul> Throws an exception if the map doesn't exist, or if no such mapping exists.</td></tr><tr><td>mapLookupWithDefault</td><td>Arguments: <ul><li>mapName (String)
</li><li>key (String)
</li><li>defaultValue (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the value for the specified key in the specified map. Otherwise returns the specified default value. Throws an exception if the map doesn't exist.</td></tr><tr><td>mapLookupWithDefault</td><td>Arguments: <ul><li>mapName (String)
</li><li>key (String)
</li><li>referenceType (String)
</li><li>defaultValue (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the value for the specified key and reference type in the specified map. Otherwise returns the specified default value. Throws an exception if the map doesn't exist.</td></tr><tr><td>mapNames</td><td>Arguments: <ul><li>None
</li></ul> Return Type: <ul><li>StringList
</li></ul> Returns the names of all maps.</td></tr><tr><td>mapReverseLookup</td><td>Arguments: <ul><li>mapName (String)
</li><li>externalValue (String)
</li><li>index (Number)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the string value of the internal value at the specified index that maps to the specified external value in the specified map.</td></tr><tr><td>mapReverseLookup</td><td>Arguments: <ul><li>mapName (String)
</li><li>externalValue (String)
</li><li>index (Number)
</li><li>referenceIdType (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the string value of the specified type at the specified index that maps to the specified external value in the specified map.</td></tr><tr><td>mapReverseLookupCount</td><td>Arguments: <ul><li>mapName (String)
</li><li>externalValue (String)
</li></ul> Return Type: <ul><li>Number
</li></ul> Returns the number of internal values that map to the specified external value in the specified map. Throws an exception if no such map exists.</td></tr><tr><td>mapReverseLookupWithDefault</td><td>Arguments: <ul><li>mapName (String)
</li><li>externalValue (String)
</li><li>index (Number)
</li><li>defaultValue (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the string value of the internal value at the specified index that maps to the specified external value in the specified map. If the external value doesn't exist in the map, returns the specified default.</td></tr><tr><td>mapReverseLookupWithDefault</td><td>Arguments: <ul><li>mapName (String)
</li><li>externalValue (String)
</li><li>index (Number)
</li><li>referenceIdType (String)
</li><li>defaultValue (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the string value of the internal value at the specified index that maps to the specified external value in the specified map, with the specified reference type. If the external value doesn't exist in the map, returns the specified default.</td></tr><tr><td>mapReverseLookupWithIntMapDefault</td><td>Arguments: <ul><li>mapName (String)
</li><li>externalValue (String)
</li><li>index (Number)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the string value of the nth internal value that maps to the specified external value in the specified map. If the external value doesn't exist in the map, returns the default defined in the integration map.</td></tr><tr><td>mapReverseLookupWithIntMapDefault</td><td>Arguments: <ul><li>mapName (String)
</li><li>externalValue (String)
</li><li>index (Number)
</li><li>referenceIdType (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the reference of the specified type for the specified attribute. Throws an exception if no such attribute exists, or if no reference of the specified type exists.</td></tr><tr><td>referenceAttributeValue</td><td>Arguments: <ul><li>attributeName (String)
</li><li>referenceType (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the reference of the specified type for the specified attribute. Throws an exception if no such attribute exists, or if no reference of the specified type exists.</td></tr><tr><td>referenceAttributeValue</td><td>Arguments: <ul><li>attributeName (String)
</li><li>serviceName (String)
</li><li>referenceType (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the reference of the specified type for the specified attribute in the specified integration service. Throws an exception if no such attribute or service exists, or if no reference of the specified type exists.</td></tr><tr><td>referenceAttributeValues</td><td>Arguments: <ul><li>attributeName (String)
</li><li>referenceType (String)
</li></ul> Return Type: <ul><li>StringList
</li></ul> Returns the references of the specified type for the specified attribute. Throws an exception if no such attribute exists.</td></tr><tr><td>referenceAttributeValues</td><td>Arguments: <ul><li>attributeName (String)
</li><li>serviceName (String)
</li><li>referenceType (String)
</li></ul> Return Type: <ul><li>Stringlist
</li></ul> Returns the references of the specified type for the specified attribute in the specified integration service. Throws an exception if no such attribute or service exists, or if no reference of the specified type exists.</td></tr><tr><td>referenceAttributeValueOrDefault</td><td>Arguments: <ul><li>attributeName (String)
</li><li>referenceType (String)
</li><li>defaultValue (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the reference of the specified type for the specified attribute. Throws an exception if no such attribute exists. Returns the specified default if no reference of the specified type exists.</td></tr><tr><td>referenceAttributeValueOrDefault</td><td>Arguments: <ul><li>attributeName (String)
</li><li>serviceName (String)
</li><li>referenceType (String)
</li><li>defaultValue (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the reference of the specified type for the specified attribute. Throws an exception if no such service or attribute exists. Returns the specified default if no reference of the specified type exists.</td></tr><tr><td>referenceAttributeValuesOrDefault</td><td>Arguments: <ul><li>attributeName (String)
</li><li>referenceType (String)
</li><li>defaultValues (StringList)
</li></ul> Return Type: <ul><li>StringList
</li></ul> Returns the references of the specified type for the named attribute. Throws an exception if no such attribute exists. Returns the specified default if no references of the specified type exists.</td></tr><tr><td>referenceAttributeValuesOrDefault</td><td>Arguments: <ul><li>attributeName: String
</li><li>serviceName: String
</li><li>referenceType: String
</li><li>defaultValues: StringList
</li></ul> Return Type: <ul><li>StringList
</li></ul> Returns the references of the specified type for the specified attribute in the specified integration service. Throws an exception if no such service or attribute exists. Returns the specified default if no references of the specified type exists.</td></tr><tr><td>reportServices</td><td>Arguments: <ul><li>None
</li></ul> Return Type: <ul><li>StringList
</li></ul> Returns list of report service names.</td></tr><tr><td>reportPath</td><td>Arguments: <ul><li>reportAlias (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the path of the first report that matches the specified report alias. The returned path has the form "owner/report_name". Example: lmcneil/Worker_Export.</td></tr><tr><td>reportPath</td><td>Arguments: <ul><li>reportAlias (String)
</li><li>reportService (String)
</li></ul> Return Type: <ul><li>z
</li></ul> Returns the path of the first report that matches the specified report alias and report service. The returned path has the form "owner/report_name". Example: lmcneil/Worker_Export.</td></tr><tr><td>reportXsd</td><td>Arguments: <ul><li>reportAlias (String)
</li></ul> Return Type: <ul><li>Xml
</li></ul> Returns XSD schema content as XML for the first report that matches the specified report alias.</td></tr><tr><td>reportXsd</td><td>Arguments: <ul><li>reportAlias (String)
</li><li>reportService (String)
</li></ul> Return Type: <ul><li>Xml
</li></ul> Returns XSD schema content as XML for the first report that matches the specified report alias and report service.</td></tr><tr><td>reportWsdl</td><td>Arguments: <ul><li>reportAlias (String)
</li></ul> Return Type: <ul><li>Xml
</li></ul> Returns WSDL content as XML for the first report that matches the specified report alias.</td></tr><tr><td>reportWsdl</td><td>Arguments: <ul><li>reportAlias (String)
</li><li>reportService (String)
</li></ul> Return Type: <ul><li>Xml
</li></ul> Returns WSDL content as XML for the first report that matches the specified report alias and report service.</td></tr><tr><td>reportXsdSimple</td><td>Arguments: <ul><li>reportAlias (String)
</li></ul> Return Type: <ul><li>Xml
</li></ul> Returns simple format XSD schema content as XML for the first report that matches the specified report alias.</td></tr><tr><td>reportXsdSimple</td><td>Arguments: <ul><li>reportAlias (String)
</li><li>reportService (String)
</li></ul> Return Type: <ul><li>Xml
</li></ul> Returns simple format XSD schema content as XML for the first report that matches the specified report alias and report service.</td></tr><tr><td>stringAttributeValueOrDefault</td><td>Arguments: <ul><li>attributeName (String)
</li><li>defaultValue (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the string value of the specified attribute if it exists and a value is defined. Otherwise returns the specified default.</td></tr><tr><td>stringAttributeValueOrDefault</td><td>Arguments: <ul><li>attributeName (String)
</li><li>serviceName (String)
</li><li>defaultValue (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the string value of the specified attribute in the specified integration service if it exists and a value is defined. Otherwise returns the specified default.</td></tr><tr><td>stringAttributeValue</td><td>Arguments: <ul><li>attributeName (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the string value of the specified attribute. Throws an exception if no such attribute exists.</td></tr><tr><td>stringAttributeValue</td><td>Arguments: <ul><li>attributeName (String)
</li><li>serviceName (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the string value of the specified attribute in the specified integration service. Throws an exception if no such attribute or service exists.</td></tr><tr><td>stringAttributeValueWithDefault</td><td>Arguments: <ul><li>attributeName (String)
</li><li>defaultValue (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the string value of the specified attribute. Otherwise returns the specified default.</td></tr><tr><td>stringAttributeValueWithDefault</td><td>Arguments: <ul><li>attributeName (String)
</li><li>serviceName (String)
</li><li>defaultValue (String)
</li></ul> Return Type: <ul><li>String
</li></ul> Returns the string value of the specified attribute in the specified integration service, if it exists. Otherwise returns the specified default.</td></tr><tr><td>stringMapIterator</td><td>Arguments: <ul><li>mapName (String)
</li></ul> Return Type: <ul><li>StringMap
</li></ul> <p>Returns a String Map containing all text-valued key-value pairs from the specified integration map. Entries whose values are reference-typed (non-text) are excluded.</p> <p>Example: given an integration map named <code>"map1"</code> configured with the key/value entries <code>key1_1val1_1key1_2val1_2</code>, the expression <code>intsys.stringMapIterator("map1")</code> produces the output <code>{ "key1_1": "val1_1", "key1_2": "val1_2" }</code>.</p> <p>If the map exists but has no text-valued entries, an empty map is returned. If no map with the given name exists, an exception is thrown.</p> <p>The returned map can be consumed inline (example: <code>.get("key1_1")</code>returns<code>"val1_1"</code>) or stored in a data context and disposed later.</p></td></tr></tbody></table><br/>

