The SELECT_FILE action is used to select a file and store it in a variable.
The input parameters for SELECT_FILE are:
Parameter | Type | Required | Description |
---|---|---|---|
file | Array<json> | Optional | File from the ACS repository to be selected. |
nodeId | String | Optional | Node ID of the file or folder in ACS. Example: a6a977a6-c728-4038-8dbc-d914c4d8cfb3. |
path | String | Optional | The location path or relative path of the selected file. For example, a location path: /app:company_home/app:user_homes/cm:hruser and a relative path: /User Homes/hruser. |
searchMaxItems | Integer | Optional | Maximum number of items to be returned by the search query. By default, results are limited to 100. |
searchQuery | String | Optional | Search query, in AFTS format, to find the resource. For rexample, cm:title:test. |
searchSkipCount | Integer | Optional | Number of items to be skipped before returning the search result. By default, it is set to 0. |
The output parameters from SELECT_FILE are:
Parameter | Type | Required | Description |
---|---|---|---|
response | Array<json> | Optional | Response for the calls. |
file | Array<json> | Optional | A list of ACS nodes containing the elements that match the searching criteria. |