Home  »   User Guide »  IT Workflow »  Define IT Workflow

Define IT Workflow

Tags:  

Define IT Workflow

IT Workflows are if-else condition based workflows that manage applications, services, registry etc. It automates your repeated tasks such as upgrading IE7 to IE8, changing values in registry, etc. The IT Workflow supports nested-if option which helps you create a condition with another condition. This helps you create workflows for complicated activities.

Steps to create an IT Workflow
  1. Go to IT Workflow-> New IT Workflow.
    (click on the image to enlarge)
  2. Click on Untitled Workflow to enter its name. Click on Add Description link to add a brief description for the workflow.

  3. Select the appropriate condition.

    • No condition, just execute - Doesn't verifies anything. Executes the actions you have configured.
    • Check Application is running - Checks whether the specified application is running and executes the actions that have been configured for success and/or failure.
    • Check Service is running - Checks whether the specified service is running and executes the actions accordingly.
    • Check Registry Value - Checks for a registry value and executes the actions accordingly.
    • Check Registry Key Exists - Checks the existence of a registry key and executes the actions accordingly.
    • Test File - Verifies a file for age, content, size and modified date, and executes the actions accordingly.
  4. Select the set of actions that you want to make.
    • Execute Command - Execute a command, execute or pause a script
    • File Management - Copy, delete, get, move, or put a file
    • Folder Management - Copy, delete, or move a folder (including its sub-folders and files)
    • Notifications - Create alarm, log a ticket, display a pop-up message, or send a mail
    • Registry Management - Delete registry Key or delete/get/set a registry value
    • Service Management - Start, stop, pause, or resume a service
    • System Management - Kill a process, log off, power off, reboot or shutdown a computer
  5. Click Save.
You have successfully added the workflow.

Next steps
Once you have added a workflow you can:
Example: IE7 to IE8 upgrade
  1. Open a new workflow editor.
  2. Select the Check Registry Value condition.

  3. Enter the Header Key, Sub Key, Data Type, Value Name of Internet Explorer from the registry.
  4. Select the Comparator as '!=' (not equal to) and enter the Value Data / Expression as 8. This is to check whether the version of IE browser on the end computers is 8 or not.
  5. Click OK.
  6. Click on File Management and select Put File action.

  7. Select the condition as SUCCESS. [Earlier we have selected the condition as 'not equal to version 8'. If the condition is success, i.e., if IE version is not 8, executes the PUT FILE action]
  8. Upload the IE8 exe from your machine by selecting From Local Machine check box. Browse the file and click upload.
  9. Enter the destination directory and click OK. [This will put the ie8.exe on the end computers]
  10. To execute this exe on the end computers, include Execute Command action in the workflow. Click Execute Command action.

  11. Select the Put File check box to execute this action once the put file action is done.
  12. Enter the command to execute the exe with its full path in the Command field.
  13. To save the result, select the file check box and enter the File Name along with its extension.
  14. Configure a Timeout interval for this action and click OK.

  15. Click Save.
You have successfully created a workflow for upgrading IE7 to IE8. Now proceed to executing or scheduling this workflow.

MSP Center provides an XML editor for the workflow. If you are familiar with XML editor you can use it. Following is the screenshot of the above workflow in XML editor


Executing IT Workflow
  1. In the Workflow page all the Workflows are listed.

  2. Click on the execute icon corresponding to the workflow that you want to execute immediately.

  3. Select the Customer to filter the devices.
  4. Select the devices and move to the right box.
  5. Click Finish.
The workflow will be executed immediately.

Steps to define IT Workflow (for builds up to 8103)
  1. Go to PC Management-> IT Workflow-> Add IT Workflow.
  2. Select the Customer on the top left corner. IT Workflows are customer specific. Select the customer to view his/her IT Workflows.

  3. Enter a unique Name and a brief Description.
  4. Select the Condition.

    1. No condition, just execute: Check nothing, just execute the set of actions defined.
    2. Check Application is Running: Check whether an application (eg. ntrtscan.exe) is running. If the application is running, then a set of actions are defined. If it is not running, then another set of actions are defined.
    3. Check Service is Running: Check whether a service (eg. DHCP) is running. If the service is running, then a set of actions are defined. If it is not running, then another set of actions are defined.
    4. Check Registry Key Exists: Checks whether the specified Registy Key exists. If it is available, then a set of actions are defined. If not, then another set of actions are defined.
    5. Test File: Checks a particular file for Age, Content, Availability, Size and Modified Date and Time. If the set condition is satisfied, then a set of actions are configured. If the set condition is failed, then another set of actions are configured.
  5. Define the Actions for both Condition Success and Failure.
    1. Click on the Click here to Add Actions link.

    2. Select the required action from the Action drop down menu and configure the other related fields.
    3. Click on Add icon to add another action.
      1. Select the Ignore Failure check box, if failure of the first action is independent of the second. If the first one is dependent on the second, then leave the Ignore Failure check box as it is (de-selected).
  6. Define the Target.
  7. Click Deploy to immediately execute the condition and actions. Click Save as Draft to save the done configurations and execute later when required.

Example to understand IT Workflow better - Upgrade IE 7 to IE 8
click on the image to enlarge
(Click on the image to enlarge)

Refer Public IT Workflow [Systems Management-> IT Workflows-> Public Workflows] page to view the other examples.


 




 RSS of this page

rtttr rb