1. 首页
  2. 文档
  3. Judge whether the file exists

白皮书下载

实在智能Agent产品白皮书(7.2.0).pdf

Judge whether the file exists

发刊日期:
2021/10/15

编辑团队:
实在学院

1、 Video example

To be launched.

 

2、 Function description

Judge whether the file exists to execute subsequent business processes. For example, first judge whether the file to be operated exists, and then read and write the file. If you do not judge and directly operate the file, an error will be reported. 

 

3、 Attribute description

Judgment type: to judge the status of the target file, select & ldquo; & rdquo; Or & ldquo; & rdquo; does not exist;.

file: it supports entering the file path, or selecting the path variable from the variables panel, or manually selecting the file.

 

4、 Use example

After adding a component, select or enter the file path. You can choose whether the file exists or not according to the actual needs, as shown in the following figure:

 

5、 Precautions

Before reading and writing the file, judge first to avoid errors in reading and writing the file due to other factors and the absence of the file.

 

 

企业培训
技术支持
加入社群
公众号
实在智能Agent学习群
扫码关注微信公众号