Question about "Start as process"

Hi All,
I am using UiPath.Excel.Activities version v2.22.4.
The activity “Excel Application Scope” has a property named “Start as process”
What difference if I set to True or False?
I cannot find any reference from Google, or

Thanks

Hie @KennyLee hope this help you to understand the difference

  1. Start as Process = True:
  • Excel Launches as a New Process: When this property is set to True, UiPath starts a new instance of Excel as a separate process. This means that the Excel application is launched independently of any existing Excel instances that may be running on the machine.
  • Isolation from Other Excel Instances: This new instance will not interact with or affect any other open Excel workbooks or instances. It operates in isolation, so changes in this instance won’t be reflected in or affect other open instances.
  • Potentially Improved Stability: By starting Excel as a new process, this approach can sometimes improve stability and avoid issues related to conflicts with existing instances of Excel.
  1. Start as Process = False:
  • Reuse Existing Excel Instance: When this property is set to False, UiPath tries to connect to an existing instance of Excel if one is already running. It will use this existing instance to open or manipulate the workbook specified in the activity.
  • Shared Environment: If multiple workflows or users are working with Excel, they might share the same instance. This can be useful if you want to avoid multiple instances of Excel running simultaneously, which can save system resources.
  • Potential for Conflicts: However, if you’re not careful, working with an existing instance can lead to issues if other processes or users are interacting with Excel at the same time.

Choosing Between the Two:

  • Use True (Start as Process) when: You need to ensure that your workflow operates in a controlled and isolated environment, or if you encounter issues with interacting with existing Excel instances.
  • Use False (Start as Process) when: You want to reuse an existing Excel instance to save resources or if your workflow requires interaction with workbooks that are already open in an existing Excel session.

Mark this solution if it finds your solution
cheers Happy Automation

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