System Exception occuring

Hi Team,
we have used Task Scheduler for process execution on server.
When the server is cancel or off , the process is not working, and a below system exception occurs every time.

SystemException Message: Could not execute the operation within the allotted time. InvokeWorkflowFile: HathwaySaistar_Sanity: Use Excel File

request you to please help us on urgent basis.

@AsadPathan2665

Why not schedule from orchestrator only?

Cheers

Hi @Anil_G
Orchestrator not using. Due to licence cost

@AsadPathan2665

is that an offline license you have?

Looks like it is failign on excel…is the excel installed? and when runnign via task scheduler is it runngin as user or local host?

are there any activities that got executed before this?

cheers

yes, excel installed. and
before activities executed.

please suggest how to resolve.
Excel package- 2.24.1

@AsadPathan2665

As per error the bot it stuck at opening excel or workign on it…can you check if there are any pop ups coming or so…looks like they are…it is blocking it from continuing

cheers

use workbook activities, might be the excel file contains large data

Yes pop ups coming.
Can u please let us know how to resolve pop ups in modern design on use Excel file.

@AsadPathan2665

Try to change the excel settings

Excel → options → advanced → there supress all pop ups

Alternately try with excel process scope which has settings to suppress display alerts etc

Cheers

Hi @Anil_G
I am unable to find supress all pop ups.

@AsadPathan2665

there would nt be anythng like suppress all…What I mean was to disable all the pop up realted settings

and its not advanced but go into trust center in more commands

cheers

Still same issue @Anil_G.

@AsadPathan2665

Can you tell what pop up are you getting?

based on that we can suggest…a screenshot would help

also did you try display alerts false in excel process scope

cheers

Hi @Anil_G ,
excel open and closed with in second.
process is working when server is ON.

@AsadPathan2665

Include a screenshot to know what issue it is

Cheers

Hi @Anil_G
The below error is occurwhen serve is closed.
SystemException Message: Could not execute the operation within the allotted time. InvokeWorkflowFile:

We have used UiPath version 2023.4.5.

@AsadPathan2665

please include a screenshot activity in catch to know

cheers