Startup Job
  • 27 Feb 2020
  • 1 Minute to read
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

Startup Job

  • Dark
    Light

Article summary

This tutorial demonstrates how to create and use Startup Job in Decisions. Startup Job is a new type of a Job introduced in Decisions 4.1. This Job allows to pick a Flow that is going to run each time Decisions is starting up.
Example:
In this example, we are going to create a simple Flow that sends an Email. Then, we are going to create a Startup Job to run the Flow when Decisions is starting up.
We begin in the Designer Folder by clicking Create Flow on Folder Actions Panel.
2019-07-29_0956.png

In the resulting window we Name the Flow and click Ok to proceed to the Flow Designer.
2019-07-29_0957.png

In the Flow Designer we add Send Email step from Favorite Steps category.
2019-07-29_0958.png

For the Email step we define Constant From and To inputs.
2019-07-29_0959.png

Also, we configure Constant Subject and Body inputs.
2019-07-29_0960.png

Next, we connect the outcome from Send Email step to the End step in our Flow.
This completes our Flow . We save the Flow and close Flow Designer.
2019-07-29_1001.png

In Decisions Portal we navigate to System > Jobs and Events > Scheduled Jobs Folder, and click Add Startup Job on Folder Actions Panel.
2019-07-29_1002.png

In the Add Startup Job window we define Job Name in Setup section. Then, we use Flow Picker to select a Flow to run.

In the resulting window we select our Flow and click Ok to continue.
2019-07-29_1004.png

This completes basic setup for the Startup Job. Click Ok to save the Job.
2019-07-29_1005.png

Job is created and can be managed on the Startup Jobs view in Scheduled Jobs Folder.
2019-07-29_1009.png

To test our Startup Job we restart Service Host Manager located in Local Services in Windows OS.
2019-07-29_1010.png

After Decisions comes back up…
2019-07-29_1012.png

We receive an Email from the Flow that was executed by our Startup Job.
2019-07-29_1014.png


Was this article helpful?

What's Next