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

Question

Question

Trigger Workflow from External Action

asked on May 2, 2024

Has anyone created a solution that involves kicking off a workflow using a trigger from an outside application? The example I am working with would involve starting a workflow that fills a pdf from an external database. The database is populated/updated as customers submit orders in a different application.  Once we populate the pdf, we then would want to send the pdf off for signature using Adobe Sign. We are planning to use the Adobe Sign solution template in the Solution Marketplace. 

 

I appreciate any and all feedback/suggestions. 

 

0 0

Replies

replied on May 2, 2024

Does the outside application have the capability to create a trigger file on a network share monitored by Import Agent or send an email to a mailbox monitored by the Email Archive service? You could use either of those as triggers. There is most likely a way to do it using the LF API as well, but I don't have a lot of experience with the API yet.

0 0
replied on May 2, 2024

Hey Kevin, I believe the application can save to a shared location. Unfortunately, we do not have import agent. I am not familiar with the Email Archive service. Can you provide more details on that service?

 

0 0
replied on May 2, 2024

Import Agent and Email Archive behave similarly. Import Agent can monitor a file system for new files and add them to the repository; Email Archive can monitor a mailbox for new emails and add them to the repository. The premise is that adding a file to the repository can easily be used as a trigger for a workflow.

I did find this documentation on the API, which may help you to use folder creation as a trigger for your workflow if you do not have Import Agent or Email Archive. How to Guide - Create Folder (V2) | Laserfiche Developer Center

0 0
replied on May 2, 2024

Hi Lawrence,

It is possible to use the self-hosted API Server to indirectly trigger a workflow.  This is a bit of a work-around until we have a dedicated Workflow API, but you could upload a document with metadata, using the Repository API, to a specific folder that would then trigger a starting rule to call your workflow.  You could then use the the document metadata as workflow starting parameters.

 

Andrew

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

Sign in to reply to this post.