Hi all,
Is it possible to run a workflow when the server is starting? If yes, how can I do?
Thank you in advance.
Regards
Hi all,
Is it possible to run a workflow when the server is starting? If yes, how can I do?
Thank you in advance.
Regards
Hi,
Can you please elaborate more about what problem you're trying to solve?
Hi, this is not really a problem.
I just try to run a workflow at the start of the server.
Actually we can schedule or create a condition in the Laserfiche ; I want to create a condition in Windows.
Example : "Server is starting => run Workflow A"
I do not believe there is out of the box functionality to do this, but it could be done with SDK. You can create a SDK application to trigger a workflow (wait for LF server to start {loop until login or X number of login attempts fails} and then if logged in, apply field data to a LF entry that satisfied a start rule). Then setup the application to run on startup with a Windows scheduled task.
What would such a workflow do?
@Bert Warren,
Thank you for your help. I'm going in this way.
@████████
Actually this is just to know but in the future, I hope to make an alert and a checkdisk then get the rapport by email (using workflow).
That sounds like a lot of overhead for something you should be able to do with a Windows scheduled task and Powershell. Especially for something like chkdsk, you probably want it to happen a lot closer to Windows starting up and not wait for Windows, LFS, WF and whatever SDK app to also start.
Ty @████████; I'll follow your way too.
No problem. I'm curious though as to what you you trying to monitor for by running chkdsk after Windows boot. Usually it's run as part of diagnostics before Windows starts up.