Module - Design Only
Set of activities to be used when designing an automation.
Activities
Retrieve files recently opened. Please note that you must only use this activity during the design of your automation. You cannot use this activity during the execution of your automation.
| Technical Name |
Type |
Minimal Agent Version |
| getRecentFiles |
asynchronous
|
WIN-3.24, MAC-3.24, CLOUD-3.34
|
Input Parameters:
Output Parameters:
Sample Code:
await irpa_365online.design.getRecentFiles();
Note:
This activity is a design tool that helps the automation developer to get the remote driveId and/or the fileId of shared files that will be used by the automation being designed. Once the information is retrieved during the developement phrase, it can be copy/pasted as input of activities that need them. This design only activity must NOT be used in production automations, as its performances my be very slow, depending on the number of involved files.
Note:
Only manually modified files will be returned, after a possibly long time. Files modified by API are not part of recent files.
Errors:
| Error Class |
Package |
Description |
| RequestError |
irpa_core |
Error getting recent files. |
| InvalidAuthenticationToken |
irpa_365online |
Invalid token was retrieved to call graphAPI. |
Retrieve files shared with me. Please note that you must only use this activity during the design of your automation. You cannot use this activity during the execution of your automation.
| Technical Name |
Type |
Minimal Agent Version |
| getFilesSharedWithMe |
asynchronous
|
WIN-3.24, MAC-3.24, CLOUD-3.34
|
Input Parameters:
Output Parameters:
Sample Code:
await irpa_365online.design.getFilesSharedWithMe();
Note:
This activity is a design tool that helps the automation developer to get the remote driveId and/or the fileId of shared files that will be used by the automation being designed. Once the information is retrieved during the developement phrase, it can be copy/pasted as input of activities that need them. This design only activity must NOT be used in production automations, as its performances my be very slow, depending on the number of involved files. The results are ordered by last modification date time.
Errors:
| Error Class |
Package |
Description |
| RequestError |
irpa_core |
Error getting files shared with me. |
| InvalidAuthenticationToken |
irpa_365online |
Invalid token was retrieved to call graphAPI. |
Retrieves a list of email folders. If there is input for both the parameters knownFolder and folderId, the parameter folderId takes priority.
| Technical Name |
Type |
Minimal Agent Version |
| listFolder |
asynchronous
|
WIN-3.24, MAC-3.24, CLOUD-3.34
|
Input Parameters:
| Name |
Type |
Attributes |
Default |
Description |
| knownFolder |
irpa_365online.enums.mail.folders |
optional
|
|
Known folder in which you want to search |
| folderId |
string |
optional
|
|
The folder in which you want to search. |
| filter |
string |
optional
|
|
Filter by folder name |
Output Parameters:
Sample Code:
const folderList = await irpa_365online.design.listFolder();
Errors:
| Error Class |
Package |
Description |
| RequestError |
irpa_core |
Error searching foder. |
| InvalidAuthenticationToken |
irpa_365online |
Invalid token was retrieved to call grapAPI. |
Enumerate lists from the current site. To change the current site, use the Select Site activity to change the site before you enumerate the list.
| Technical Name |
Type |
Minimal Agent Version |
| enumerateLists |
asynchronous
|
WIN-3.24, MAC-3.24, CLOUD-3.34
|
Output Parameters:
Sample Code:
await irpa_365online.design.enumerateLists();
Errors:
| Error Class |
Package |
Description |
| RequestError |
irpa_core |
Error enumerating lists. |
| InvalidAuthenticationToken |
irpa_365online |
Invalid token was retrieved to call graphAPI. |
Search Sites
| Technical Name |
Type |
Minimal Agent Version |
| searchSite |
asynchronous
|
WIN-3.24, MAC-3.24, CLOUD-3.34
|
Input Parameters:
| Name |
Type |
Attributes |
Default |
Description |
| siteDisplayName |
string |
optional
|
|
Site display name. If this is empty then all sites are enumerated. |
Output Parameters:
Sample Code:
await irpa_365online.design.searchSite('mySite');
Errors:
| Error Class |
Package |
Description |
| RequestError |
irpa_core |
Error searching site. |
| InvalidAuthenticationToken |
irpa_365online |
Invalid token was retrieved to call graphAPI. |