Microsoft Word is a widely used commercial word processor designed by Microsoft. Word is one of the popular word processing software used among most enterprises. IntelliBuddies Word automation activity package contains multiple activities that enable you to manipulate word documents (.doc or .docx). Refer to list of Word activities
Let us understand Word activities with an example process. Here is an example of generating a payslip for employees by reading the information from an Excel file and writing it into the word file using Replace Bookmarks.
All the Word operations are handled in a separate workflow.
Above Word process is called from Excel process using invoke workflow activity.
Word template contains list of bookmarks to be replaced for per Employee payslip generation. Refer to How to Create Bookmarks
Input file details: Refer to Excel Input File
Come, let's create this process in Process Designer:
- Follow the steps from Using Excel Activity #Step1 to Using Excel Activity #Step6 to create new process and get the Excel files. Read Execl details of each Employee.
Add Word context
Add Word Context to add word activities.
Set the word template file path to appropriate location before executing the process.
Add Replace Bookmark to replace the employee paslip data in word template
Add Assign activity set the Employee name to variable.
Add Save As to save the payslip with employee name as payslip file name. Save the generated payslip inside payslip folder.