Exist

Estimated reading: 2 minutes 1994 views

The “Exist” activity is employed to determine whether a specific file or directory exists in the designated path. We can also assess the existence status of a file or directory within a shared folder, granted we have access to it.

Properties

INPUT

Mode:* Select from the dropdown the option for which you want to check the existence status.
File: Choose this to check the existence status of a file.
Directory: Choose this to check the existence status of a directory. This is the default selection.

Path:* This field represents the path where the specified file or directory is located. You have the option to either hardcode the values in the “String” variable or pass the values as “String” datatype. This accepts only the “String” datatype.

MISC

DisplayName: Displays the name of the activity. The activity name can be customized, which aids in troubleshooting.

SkipOnError: Specify the “Boolean” value as “True” or “False.”
True: Continue executing the workflow regardless of any errors thrown.
False: Halt the workflow if it encounters any errors.
None: If the option is left blank, the activity will, by default, behave as if “False” were chosen.

Version: It indicates the version of the feature being used.

OUTPUT

Result: It provides the ability to view the execution status of the activity. It returns values in “Boolean.”
True: Indicates that the activity has been executed successfully without any errors.
False: Indicates that the activity has been unsuccessful due to an unexpected error being thrown.

Represents mandatory fields to execute the workflow

Share this Doc

Exist

Or copy link

CONTENTS