You are viewing limited content. For full access, please sign in.

Question

Question

Is it possible to run a Workflow every time the server starts?

asked on February 11, 2019

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

0 0

Replies

replied on February 11, 2019

Hi,

Can you please elaborate more about what problem you're trying to solve?

1 0
replied on February 11, 2019

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"

0 0
replied on February 12, 2019

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.

0 0
replied on February 12, 2019

What would such a workflow do?

0 0
replied on February 12, 2019

@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).

0 0
replied on February 12, 2019

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.

2 0
replied on February 12, 2019

Ty @████████; I'll follow your way too.

0 0
replied on February 12, 2019

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.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.