Skip to main content

Using File Activities

A file is a collection of data stored in one unit, identified by a filename.

Activities

ActivityDescription
Create FileUse to create new file
Copy FileUse to copy file
Delete FileDelete file
Move FileMove file from one location to other
Write FileWrite data into file
Append Line FileAppend line of text into file
Get FileGet list of files from the path provided

Let us understand File activities with an example process. Here is an example of generating a payslip for employees by reading the information from an Excel file.

Note:

Come, let's create this process in Process Designer:

Step#1

Launch and create a new process in Process Designer

  • Launch Process Designer from the Windows Start menu located under IntelliBuddies Enterprise

Step#2

Create New Process

  • Click on New Process and fill in the new process details

Step#3

Step#4

Step#5

  • Add Get File activity to get the list of Excel file names from the selected folder.

Step#6

Add and Export the Excel operation sequence as a Snippet

Step#7

Save the process

  • From the Design tab ribbon, click on Save

Step#8

Run the process

  • From the Design tab ribbon, click on Run

Step#9

Ensure the process executes and status of payslip generated is written into text file. Refer to Excel Input File.

  • An output text file containing log information:

  • Payslip template and generated payslip:

Download Example (C#)