Workflow and ServiceDesk Community

 View Only

Configurable Auto Start 

Jun 13, 2012 09:48 AM

Configurable Auto Start

Component definition

This component contains an embedded model that controls when the rest of the process runs. Use this component in an auto start Workflow Project type; you cannot use it in a monitoring Project, because it is a miniature monitoring Project.

The usefulness of this component is that it acts as a Monitoring Project type that is affixed to the front of a Workflow Project type. This component is ideal for the processes that require workflow steps and that need to run at an unpredictable time. For example your process may require an approval and may need to run when a server's disk space is full,

The embedded model in a Configurable Auto Start component acts like a standalone Monitoring Project. This component lets you run your auto start Workflow Project type on a specific event. When you use this component, you do not need a start component in the process.

Component icon

Description of component output paths

Unknown

The component output paths are described in the following table:

Property

Description

Unknown

Unknown

Unknown

Unknown

Description of component tabs and their properties

The properties on the Model tab in the Configurable Auto Start component are listed and described in the following table:

Property

Description

Embedded Model

Lets you build the model for the process.

At a minimum, this model must contain a process that monitors for a configurable event. When the external event occurs, the output path for that event should be connected to the End component that has the Start Workflow Variable Name mapped to True.

This embedded model can contain multiple End components that have the Start Workflow Variable Name mapped to False. This model can only contain one End component that has the Start Workflow Variable Name mapped to True.

The workflow begins when the path is followed to the End component that has the Start Workflow Variable Name mapped to True.

Start Workflow Variable Name

Lets you set up the name of the variable that maps to True or False in the End component.

This variable must be set in the End component of the embedded model.

The properties on the Settings tab in the Configurable Auto Start component are listed and described in the following table:

Property

Description

Component Class Name

The class name of this component. This property is not editable, but useful if you call Symantec support.

Description

The description of this component. This property lets you describe how the component is used. You can use it to provide any wanted documentation for this component.

This description is included in the model reports that are created when you click Plugins > Generate Business Model.

Location

The physical location of the top left point of this component on the workflow model.

Name

The name of this component. You can change the name.

If you changed the component name when you double-clicked it on the workflow model, the changed name appears here.

Override Background Color

This property lets you change the background color of this component.

To Do

This property lets you record what you still need to do with the component. Use this property to help you remember the configuration that you want to apply to this component.

The text that you enter for this property appears at the bottom of the component editor. If you enter text for this property, a checklist symbol appears on the component in the workflow model.

Is Enabled

This property lets you enable or disable the component. By default, components are enabled. When a component is disabled, it has no effect on the Project. Uncheck Is Enabled to disable the component.

  • Execution Outcome

    If a component with more than one outcome path is disabled, you must select which outcome path you want the component to take. Click the Execution Outcome drop-down list and select the outcome path for the workflow to follow.

  • Disabled Mapping

    If the component has output parameters, you must configure all output parameters with fixed data to pass on. This configuration can be performed in the Disabled Mapping option.

Connection information

Not applicable

Component settings

Unknown

Use cases

Some examples for the Configurable Auto Start component are as follows:

  • Server disk space monitoring

    An auto start Project monitors the available disk space on a server. When the embedded model of the Configurable Auto Start component detects low memory, it starts the primary model.

  • Application submission

    When paper applications are submitted to a company, the company scans the application and saves the resulting image in a certain directory. In a Workflow Project type that is set to auto start, a Configurable Auto Start component watches the directory. It notifies a manager when a new application is submitted.

Server disk space monitoring

Scenario: A company has a server that tends to run out of memory quickly because of a Web application it hosts. Instead of constantly checking the memory, the server administrator requests a workflow process to monitor the server.

Process: This process is created as a Workflow Project type.

The following screen shot shows the process:

Remember, the Configurable Auto Start component works only with Workflow Project types set to auto start. You can set a Project to auto start in the Project data under the Publishing tab.

See the Workflow 7.0 User's Guide.

www.altiris.com/support/documentation.aspx

The process runs on a schedule, watching the amount of available disk space on the server. If the amount of disk space is between 15 gigabytes and 200 gigabytes, no action is taken. If the amount of disk space is between 5 gigabytes and 15 gigabytes, the Configurable Auto Start component triggers the primary model. In the Primary model, a notification email is sent to the server administrator.

The following screen shot shows the embedded model in the Configurable Auto Start component:

A GetComputerInfo component retrieves the amount of disk space the server has available. A Number Range Rule component evaluates the data and follows the appropriate output path based on its findings.

Both end components have a logical (true-false) variable called StartWorkflowFlag. In the Trigger primary model end component, this variable is set to True. In the Continue monitoring component, this variable is set to False.

If this embedded model resolves with StartWorkflowFlag set to True, it triggers the primary model to begin. If it resolves with the variable set to False, the embedded model continues to run.

Other components in this example are as follows:

  • Send Email

  • Number Range Rule

  • End (Embedded/Path Specific)

Application submission

Scenario: Paper applications are submitted to a company. The HR personnel scan the application and save the digital copy in a certain directory on the network. An email is automatically sent to the main Talent Acquisition office with a notice that a new application has been submitted.

Process: This process is created as a Workflow Project type.

The following screen shot shows the process:

The embedded model inside a Configurable Auto Start component monitors this directory for the appearance of a new application. When it detects a new application, it triggers the primary model. The primary model then sends a notification email to HR personnel.

The following screen shot shows the embedded model in the Configurable Auto Start component:

A File Exists component checks the specified directory for the scanned application file and follows the appropriate output path based on its findings.

Both end components have a logical (true-false) variable called StartWorkflowFlag. In the "Trigger primary model" end component, this variable is set to True. In the Continue monitoring component, this variable is set to False.

If this embedded model resolves with StartWorkflowFlag set to True, it triggers the primary model to begin. If it resolves with the variable set to False, the embedded model continues to run.

Other components in this example are as follows:

  • Send Email

  • File Exists

  • End (Embedded/Path Specific)

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.