Convert Word to pdf file

I want to convert a word file to PDF. I am using word application scope to read a word file and I am using Export to PDF Activity for convert.

But the workflow throws error. I mentioned the error in below,

18.4.0+Branch.master.Sha.b805b316b1c47ae06c0fe7e619b9c9f96e9e774c

Source: Export to PDF

Message: Command failed

Exception Type: System.Runtime.InteropServices.COMException

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Runtime.InteropServices.COMException: Command failed
at UiPath.Word.Activities.WordInteropActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Pls help…

Hello @UmaMaheshwari

Try use the activitie “Convert word to PDF”, see image below:

image

Let me know if it working

UiPathTeam.FileConverter.Activities package is not installing in my machine. I am using version 2018.3 (Uipath).

when I try to install a package, It’s throwing error like this:

18.4.0+Branch.master.Sha.b805b316b1c47ae06c0fe7e619b9c9f96e9e774c

The following package(s) can not be installed:
UiPathTeam.FileConverter.Activities 0.0.6814.35837

Hi @UmaMaheshwari

Check the below post

Thanks
Ashwin S

1 Like

Thanks @AshwinS2 :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.