Workflows (JOBP)
{"URL":["/*.*/awa/pa_view_JOBP"],"heroDescriptionIdentifier":"ice_jobp_intro","customCards":[{"id":"ice_types_of_Wfs","title":"Types of Workflows","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_overview.htm","languages":["en-us"]},{"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_CreatingAWf","title":"Creating a Workflow","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_overview.htm","languages":["en-us"]},{"id":"ice_JOBP_Create_Video","title":"Creating a Workflow: Watch the Video","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_overview_VIDEO.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_unlinked_tasks","title":"Unlinked Tasks","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_overview.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_TimeDepsTab.htm","languages":["en-us"]},{"id":"ice_jobp_conditions","title":"Conditions, Preconditions and Postconditions","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_PropertiesPane_CondTab.htm","languages":["en-us"]},{"id":"ice_jobp_runtime","title":"Runtime Properties","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_PropertiesPane_RuntimeTab.htm","languages":["en-us"]},{"id":"ice_jobp_ForEachTab","title":"ForEach Properties","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_PropertiesPane_ForEach.htm","languages":["en-us"]},{"id":"ice_jobp_ExtDepTab","title":"External Dependency Properties","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_ExternalDependencyTab.htm","languages":["en-us"]},{"id":"ice_jobp_external_dependencies_in_workflows","title":"External Dependencies in Workflows","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_ExternalDependencies.htm","languages":["en-us"]},{"id":"ice_UseCasesLandingPage","title":"Designing Automation with Workflows: Use Cases","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/UseCases/Workflows/JOBP_UseCase_LandingPage.htm","languages":["en-us"]},{"id":"ice_jobp_logic","title":"Workflow Logic","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_Wkfl_Logic.htm","languages":["en-us"]},{"id":"ice_jobp_setting_hostg","title":"Setting the Agent Group for Workflows","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_AgentGroupSetting.htm","languages":["en-us"]},{"id":"ice_ExecutingObjects","title":"Executing Objects","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Executions/obj_Executing_overview.htm","languages":["en-us"]},{"id":"ice_jobp_execute","title":"Executing Workflows","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_Executing.htm","languages":["en-us"]},{"id":"ice_rolling_back_tasks_and_workflows","title":"Rolling Back Tasks and Workflows","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_Rollbacks.htm","languages":["en-us"]},{"id":"ice_variables_inheritingObjAndPrptVaras","title":"Inheriting Object and PromptSet Variables","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_Variable_Page_Inheriting.htm","languages":["en-us"]},{"id":"ice_variables_inheriting_EXAMPLES","title":"Example: Inheriting Values in Children and Grandchildren","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_Variable_Page_InheritingExamples.htm","languages":["en-us"]},{"id":"ice_Workflow_Example_UpdateDB","title":"Example of a Workflow","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/UseCases/Workflows/JOBP_UseCase_UpdateDWH_and_Report.htm","languages":["en-us"]},{"id":"ice_WorkflowMonitor_intro","title":"Monitoring Workflows","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/ProcMonitoring/JOBPMonitor/PM_MonitoringWorkflows.htm","languages":["en-us"]},{"id":"ice_WorkflowAttributes","title":"Workflow Attributes","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Workflows/wf_Attributes.htm","languages":["en-us"]},{"id":"ice_AWIs_CommonFunctions","title":"Common Functions","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/_Common/CommonFunctions/CF_OverviewOfChapter.htm","languages":["en-us"]},{"id":"ice_UnderstandingPA","title":"Understanding the Process Assembly Perspective","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/ProcessAssembly.htm","languages":["en-us"]},{"id":"ice_Overview_AWI","title":"Understanding the User Interface","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/_Common/GettingStarted/GS_OverviewAWI.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.
Object class: Executable object
Object type/Short form: JOBP
This page includes the following:
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.
How to Create a Workflow
This list depicts a possible roadmap to design and work with a basic Workflow. 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:
- In the Process Assembly perspective, click Add Object and select Workflow (JOBP) > <type of Workflow>. For more information, see Adding Objects.
- Enter the Name of the Workflow and, optionally, also a Title. For more information, see Name, Title, and Alias.
- Click OK to open the Workflow editor. You design the Workflow here by adding tasks, arranging and configuring them. When empty, the Workflow editor contains only two nodes (START and END); you add objects to the Workflow between these nodes. For more information, see Designing Workflows in the Editor.
-
Apply properties to the tasks in the Workflow. Properties affect the order and outcome of the Workflow executions. You can also apply properties to the START and END nodes. 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.
-
To be able to execute the object, you must assign it an Agent. You do it on the Workflow's Attributes Page.
-
Configure the Generate Task at: Activation time / Runtime parameter also on the Attributes page. This parameter has an important impact in the execution times. Read Executing Objects: Generating Task at Activation Time vs Generating Task at Runtime, where the implications of either option are described.
-
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. Also 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.
-
After you have defined the Workflow parameters and the properties of its tasks, you can execute it. For more information, see Executing Workflows.
Check whether the Workflow behaves as expected in the Process Monitoring perspective. For more information, see Monitoring Workflows.
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.
Unlinked Tasks in Workflows
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:
More information:
-
Calendar Tab
-
External Dependency Tab
External Dependencies in Workflows
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:
See also:
This section includes the following pages: