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) |
Sends an email with information about the file and the action performed.
|
||
|
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) |
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.
|
||
|
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. notify (optional) - 1 to automatically send the email to users impacted by the related action; 0 to not automatically send them the email. Default is 0. If no users or groups are specified, the email is sent to the admin. |
File actions
|
Action |
Parameters |
Details |
Compatible IF conditions |
|---|---|---|---|
|
Copy the file(s) to some location |
{
|
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) |
{
|
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 |
{
|
Moves 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 moving files.
The placeholders. %who, %when, %path, %how, %filename are available for this action. |
|
|
Release locks
|
|
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 |
{
|
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 |
{
|
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.
Note: By default, plain text files must have the extension txt, dat, log or csv to pass the integrity check.
|
Reporting
|
Action |
Parameters |
Details |
Compatible IF conditions |
|---|---|---|---|
|
Run a report |
{
|
Opens a saved report, runs it, and then sends the results in email. 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 |
Sends an email to the specified addresses with information about the users matching the criteria.
|
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 |
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 |
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_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 |
{
|
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 |