Define a THEN Action
Not all THEN actions are compatible with all IF conditions. Please see the table below for compatible settings.
Once you select an IF Condition, compatible THEN Actions can be selected.
- Actions are performed if the associated Condition is triggered.
Some Actions may require you to specify parameters, such as a specific date or time.
THEN Actions
Notifications
Action | Parameters | Details | Compatible IF conditions |
---|---|---|---|
Notify the file actions to user(s) | { "comma_separated_email_id":"xyz@a.com,abc@b.com" } | Sends an email with information about the file and the action performed. comma_separated_email_id - email ids in comma separated format | |
Notify the user that the account may be deactivated soon | None | Notifies the user that the account may be disabled or deleted due to inactivity.su | |
Notify user(s) | { "comma_separated_email_id":"xyz@a.com,abc@b.com" } | Sends a notification to users matching the criteria and sends an email to the admin and the specified addresses with information about the users who were sent notifications. comma_separated_email_id - email ids in comma separated format | |
Send an email | { | Sends a customized email to the users and/or groups indicated subject - Subject of the email body - Body of the email is_html (optional) - 1 if the body is in HTML format; 0 if the body is in plain text format. Default is 0. users (optional) - Comma separated list of users to send the email to. groups (optional) - Comma separated list of groups to send the email to.
|
File actions
Action | Parameters | Details | Compatible IF conditions |
---|---|---|---|
Copy the file(s) to some location | { "target_path":"/usera/folderb/", "allow_overwrite":"1", "keep_folder_structure":"1" } | Copies files.
allow_overwrite - (Added in FileCloud 20.1) Optional. Allow file to overwrite existing files with the same name in the target path. If allow_overwrite is not included, overwrites are allowed. keep_folder_structure (Optional): Keep folder structure while copying files. The placeholders. %who, %when, %path, %how, %filename are available for this action. | |
Delete the file(s) | { "excluded_users":"user1,user2,user3", "delete_empty_folders":true, "notify_owner":false, "comma_separated_email_id":"email1@email.com,email2@email.com" } | Deletes matching files. excluded_users (Optional): Users whose files will be excluded from deletion. Names must be provided in a comma separated format. | |
Move the file(s) to some location | { "target_path":"/usera/folderb/", "allow_overwrite":"1", "keep_folder_structure":"1" } | Moves files. target_path - Path to the new file location (where it should be moved).
allow_overwrite - (Added in FileCloud 20.1) Optional. Allow file to overwrite existing files with the same name in the target path. If allow_overwrite is not included, overwrites are allowed. keep_folder_structure (Optional): Keep folder structure while moving files. The placeholders. %who, %when, %path, %how, %filename are available for this action. | |
Release locks (added in FileCloud 22.1) | { "days": 7 } | Releases locks on files and folders. days - Number of days after a lock was created on a file or folder to release it. | |
Verify file integrity and generate admin alert on mismatch | { "ignore_file_size_in_mb":"10 " } | Attempts to identify the file type based on its content and checks if it matches the extension.
Optional ignore_file_size_in_mb: - Do not scan files larger than this limit specified in megabytes. | |
Verify file integrity and delete on mismatch | { "ignore_file_size_in_mb":"10" } | Attempts to identify file type based on its content and checks if it matches its mime type.
Optional ignore_file_size_in_mb: - Do not scan files larger than this limit specified in megabytes. |
Reporting
Action | Parameters | Details | Compatible IF conditions |
---|---|---|---|
Run a report | { "report_name":"my_report", "comma_separated_email_id":"a@x.com,b@y.com" } | Opens a saved report, runs it, and then sends the results in email. This action requires you to have already created the report from the Admin dashboard. report_name: Name of the report to run. The report must already be created in the reports section and that exact report name must be provided here. comma_separated_email_id: Comma separated email ids to be notified after report is run | |
Generate an email report | { "comma_separated_email_id":"xyz@a.com,abc@b.com" } | Sends an email to the specified addresses with information about the users matching the criteria. comma_separated_email_id - email ids in comma separated format |
Running commands
Action | Parameters | Details | Compatible IF conditions |
---|---|---|---|
Execute a command | { | Executes the command line. command_line: - Command line syntax to be executed. Admin is notified after the command runs. The placeholders. %who, %when, %path, %how, %filename are available for this action. To enable admin users to choose the Execute a command option, add:
|
Modifying users
Action | Parameters | Details | Compatible IF conditions |
---|---|---|---|
Disable user account | { "comma_separated_email_id":"xyz@a.com,abc@b.com" } | Disables the user account and then sends an email with information about the action performed. donot_email_user (optional): Do not send email to the user affected (1 or 0). Default 0. | |
Delete user account | { "comma_separated_email_id":"xyz@a.com,abc@b.com" } | Deletes the user account and then sends an email with information about the action performed. donot_email_user (optional): Do not send email to user affected (1 or 0). Default 0. | |
Change user status | { "user_status": "USER_ACCOUNT_LIMITED_ACCESS", "mark_as_verified": 0, "comma_separated_email_id": "xyz@a.com,abc@b.com", "donot_email_user": 0 } | user_account_type - type of account. You must use one of the following values:
mark_as_verified (optional) - marks the account as verified, so that the user can log in immediately without waiting for the admin to send the verification email. comma_separated_email_id - email IDs in comma separated format donot_email_user (optional) - prevents an email from being sent to the user affected when the status is changed
| |
Set user group | { | Assigns user to groups. group_name - Comma separated list of groups to assign user to. | |
Set user policy | { | Sends an email notification to the listed users that the user's policy was set as the specified policy policy_name - Name of policy to set comma_separated_email_id - email ids in comma separated format donot_email_user | |
Set user properties | { "policy_name":"SamplePolicyName", "user_status":"USER_ACCOUNT_LIMITED_ACCESS", "comma_separated_email_id": "", "donot_email_user": 0 } | Sends an email notification to the listed users that the user's policy was set as specified and the user access was set as specified user_status (optional): User status to set. (USER_ACCOUNT_FULL_ACCESS, USER_ACCOUNT_GUEST_ACCESS, USER_ACCOUNT_LIMITED_ACCESS (external access)) comma_separated_email_id (optional): Comma separated emails to notify of workflow action. donot_email_user (optional): Set to 1 to prevent system from notifying user. |
Share actions
Action | Parameters | Details | Compatible IF conditions |
---|---|---|---|
Delete the share(s) | None | Delete the share. |
Device actions
Action | Parameters | Details | Compatible IF conditions |
---|---|---|---|
Block the device for admin approval | None | Blocks the device and marks it with "Needs Approval" on the Manage Devices screen |