Workflows (JOBP)

{"URL":["/*.*/awa/pa_view_JOBP"],"heroDescriptionIdentifier":"ice_jobp_intro","customCards":[{"id":"ice_jobp_IF","title":"IF Workflows","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_IF_Wkflw.htm","languages":["en-us"]},{"id":"ice_jobp_FOREACH","title":"FOREACH Workflows","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_FOREACH_Wkflw.htm","languages":["en-us"]},{"id":"ice_jobp_editor","title":"Walkthrough of the Editor","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_Editor.htm","languages":["en-us"]},{"id":"ice_jobp_adding_tasks","title":"Adding Tasks to a Workflow","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_AddingObjects.htm","languages":["en-us"]},{"id":"ice_jobp_task_boxes","title":"Information in Task Boxes","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_TaskBoxes.htm","languages":["en-us"]},{"id":"ice_jobp_name_title_alias","title":"Name, Title and Alias","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_NameTitleAlias.htm","languages":["en-us"]},{"id":"ice_jobp_selecting_tasks","title":"Selecting Tasks","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_SelectingTasks.htm","languages":["en-us"]},{"id":"ice_jobp_connecting_tasks","title":"Connecting Tasks","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_Connecting.htm","languages":["en-us"]},{"id":"ice_jobp_task_execution_order","title":"Task Execution Order in Standard Workflows","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_task_execution_order.htm","languages":["en-us"]},{"id":"ice_jobp_moving_panning","title":"Moving and Panning","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_MovingPanning.htm","languages":["en-us"]},{"id":"ice_jobp_zooming","title":"Zooming","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_Zooming.htm","languages":["en-us"]},{"id":"ice_jobp_copy_replace_remove","title":"Copying, Replacing and Moving","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_CopyReplaceRemove.htm","languages":["en-us"]},{"id":"ice_jobp_insert_remove","title":"Inserting/Removing Rows and Columns","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_InsertingRemovingRowsColumns.htm","languages":["en-us"]},{"id":"ice_jobp_searching_for_tasks","title":"Searching for Tasks","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_SearchingForTasks.htm","languages":["en-us"]},{"id":"ice_jobp_filter_tasks","title":"Filtering Tasks","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_filter_tasks_wf_editor.htm","languages":["en-us"]},{"id":"ice_jobp_task_props_intro","title":"Workflow Task Properties","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_PropertiesPane_overview.htm","languages":["en-us"]},{"id":"ice_jobp_general_tab","title":"General Properties","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_PropertiesPane_GeneralTab.htm","languages":["en-us"]},{"id":"ice_jobp_calendar","title":"Calendar Properties","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_PropertiesPane_CalendarTab.htm","languages":["en-us"]},{"id":"ice_jobp_variables","title":"Variable Properties","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Variables/wf_PropertiesPane_VariablesTab.htm","languages":["en-us"]},{"id":"ice_jobp_prpts","title":"PromptSet Properties","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_PropertiesPane_PromptsTab.htm","languages":["en-us"]},{"id":"ice_jobp_timeanddeps","title":"Time and Dependencies Properties","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_PropertiesPane_PromptsTab.htm","languages":["en-us"]}]}

Workflows are one of Automic Automation's key executable objects. Workflows serve as containers for objects that must be executed in a specific sequence and with specific parameters. An object that is inserted in a Workflow is called task. A Workflow can also be embedded in another Workflow. By linking the tasks in a Workflow, you establish the sequence of the executions. Thus, the tasks in a Workflow have a predecessor (the previous task in the sequence) and a successor (the next task). Workflows also have a START and an END node. You design them in the Workflow editor on the Workflows definition page.

A Workflow and its tasks have a parent/child relationship. The Workflow has its own properties, which its tasks inherit. However, the tasks also have their own properties, which can override the definitions in the Workflow.

The sequence of the tasks in the Workflow is part of the Workflow logic. However, you can set other parameters that contribute to build that logic. Some of the properties that you can define in the tasks also play an important role to decide when they are executed.

Types of Workflows

Automic Automation provides the following templates to create different types of Workflows:

  • FOREACH

    These Workflows represent loops. They repeat one or more tasks several times depending on the defined loop conditions. ForEach Workflows cannot be modified at runtime.

  • IF

    These Workflows represent IF statements. An IF Workflow contains two branches (True, False) to which you can assign tasks. You define a condition in the START node that determines which branch should be processed. IF Workflows cannot be modified at runtime.

    The structure of IF Workflows is predefined and cannot be modified; you can only add tasks to one of the branches and arrange them in series. If you need more complex structures, you must embed other Workflows.

    IF Workflows do not admit external dependencies

  • STANDARD

    You can add, order, and link tasks in a standard Workflow as you need. Active or stopped STANDARD Workflows can be modified at runtime.

  • AIOPS

    These are remediation Workflows that contain pre-configured attributes. These attributes connect and synchronize them with the alarms and with the processes that they remediate.

Note: ForEach and IF Workflows do not support bulk operations.

More information:

Tip: If you are new to Automic Automation, after this introduction, read Designing Workflows in the Editorwhere the Workflow editor is described. Afterward, take a look at Creating your First Workflow in the Getting Started with Automic Automation section.

This page includes the following:

Special Case: Unlinked Tasks

You can insert tasks in Workflows without linking them to any other task or to the START or END nodes. Unlinked tasks start when the Workflow starts. They are generated immediately because they do not have any dependency to a predecessor task.

This special use of tasks in Workflows lets you take advantage of the Calendar conditions and of the external dependency functions. These functions are available for the tasks within Workflows.

Notes:

  • A Workflow can contain an embedded Workflow with an unlinked task. The processing of the embedded Workflow continues and finishes even if its unlinked task is still executing. The superordinate Workflow continues when the embedded Workflow reaches the END node successfully.

  • Forecast calculations also consider the unlinked tasks.

More information:

  • Calendar Tab

  • External Dependency Tab

External Dependencies

You can assign external dependencies to Workflows. They are tasks that start outside the Workflow, therefore, they do not have a predecessor. External dependencies must execute and end with a specific status for another task in the Workflow (the successor) to be able to start.

More information:

Designing Workflows

This list depicts a possible roadmap to design and work with Workflows. It provides short descriptions of the actions you can take. It also gives additional information that can help you understand how they work and links to topics that describe them:

  1. Define the Workflow general settings:

    • The basics, on the General Page
    • If necessary, apply a Sync object to the Workflow. For more information, see Sync Page.
    • On the Runtime Page, specify the settings to be used for runtime calculations.

      This information is relevant for planning tasks and monitoring them. It is also used in forecasts and autoforecasts.

    • Administrator user can fine-tune access rights at object level on the Authorizations Page. This page is only visible if you have the necessary rights.
    • Specify important object Attributes on the Attributes Page. Among other important settings, here you assign the Agent and the Login object that allows the access to it.

      Important!

      • Your definition in the Generate Task at: Activation time / Runtime attribute can have an important impact in the execution times of your jobs. Have a look at Generating at Activation or at Runtime, where the implications of either option are described.
      • The generation time of the tasks in the Workflow plays an important role in the overall behavior of the Workflow and on the execution sequence. Read the following topic to learn more about it: General Tab (Task Promtp/Evaluation section)
    • You may want to use variables or prompts. You do so on the Variables Page and Prompt Sets Page. Read Inheriting Object and PromptSet Variables and Examples: Inheriting Object Variables to understand how variables, VARA objects, and PromptSets assigned to Workflows behave and are inherited by their tasks.

      Have a look at Variables and VARA Objects to get acquainted with the various types of variables and VARA objects.

    • You may want to define the settings to backup and restore a Job task when included in a Workflow. Doing it is useful to recover the last successful status when processes fail. You define these settings on the Rollback Page.
    • The Version Management Page lists all the versions of an object and allows you to restore it to an older version.
    • Enter information about the Job you are defining on the Documentation Page.
  2. Add and arrange the objects in the Workflow using the Designing Workflows in the Editor.
  3. Apply properties to the tasks in the Workflow. Properties affect the order and outcome of the Workflow executions. See Task Properties in Workflows.

    Have a look at Workflow Logic. This topic describes the validation checks that take place during the execution of a Workflow. The graphic at the bottom of the topic illustrates how and when the task properties affect the order and outcome of the executions.

  4. After you have defined the Workflow parameters and the properties of its tasks, you can execute it. For more information, see Executing Workflows.

  5. Check whether the Workflow behaves as expected in the Process Monitoring perspective. For more information, see Monitoring Workflows.
  6. If necessary, you can modify the design and properties of the Workflow at runtime. See Modifying Workflows at Runtime.

Tip: When designing Workflows, you can open tasks, objects and lists in different browser windows. Arrange them side-by-side on your screen. For more information, see Example: Designing and Monitoring Objects.

See also: