Free cookie consent management tool by TermsFeed

a!getDataSourceForPlugin() Function

Function

a!getDataSourceForPlugin( dataSourceConnectedSystem )

Provides capability for plug-ins to connect to Data Source Connected Systems and apply corresponding role map security configurations.

Parameters

Keyword Type Description

dataSourceConnectedSystem

Any Type

Constant that references a Data Source Connected System value.

Returns

Text

Usage Considerations

The user must have at least Viewer permission to the Data Source Connected System in order to call the function.

Review security role map permissions for a Data Source Connected System.

Example

Invoking a!getDataSourceForPlugin within executestoredprocedure plug-in function.

1
2
3
4
5
6
7
8
9
10
executestoredprocedure(
  dataSourceName: a!getDataSourceForPlugin(cons!APP_DATA_SOURCE_POINTER),
  procedureName: "spRetrieveData",
  inputs: {
    a!storedProcedureInput(
      name: "input",
      value: 0
    )
  }
)

See also: Data Source Connected Systems

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Partially compatible

Can be used with Appian Portals if it is connected using an integration and web API.

Offline Mobile Incompatible
Sync-Time Custom Record Fields Incompatible
Real-Time Custom Record Fields Incompatible
Process Reports Incompatible

You cannot use this function to configure a process report.

Process Events Incompatible

You cannot use this function to configure a process event node, such as a start event or timer event.

Feedback