1. Click on “Create” to build a new project.
2. Select “Build an Automated Process”.
3. Select “Task Automation” to create an automation.
4. Name the project. In this case, we are going with ‘Email Extraction’ and description ‘Automation for email attachment extraction’.
5. Select the version for SAP Desktop Agent that you have installed in your system. It will show ‘local’ and ‘registered’ in the option. And confirm.
7. Add Dependencies from the setting beside release button on the top.
Add Business process project dependency-
Outlook SDK
8. This is an empty canvas for your automation
9. Search for “Open Outlook Instance” in the Tools section and drag it to the canvas to connect
10. Add “Search Email (Outlook)” from the tools section.
12. Click on “+” search criteria list.
15. Add “Forever Loop” from tools section.
16. Add “Check current Email” from tools section and place as shown below.
17. Enter condition “isContextCurrentEmailExist”.
18. Add “Save All Mail Attachments (Outlook)”
20. Add “Release Outlook Instance” to close the Outlook, which was opened.
21. We will be extracting this mail attachment and save it to our desktop.
22. Testing the automation
Click on the Test button to run the automation.
23. Click on “Test”.
(Note: Make sure your SAP desktop Agent is working and is in ‘attended mode’)
.
24. You can see automation ran successfully without any error.
25. Checking the file in desktop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
23 | |
8 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 |