Example Task for Using Python in AutomationDesk

Introduction

To learn how to implement tasks in AutomationDesk by using Python scripts.


Your automation tasks

The following tasks are used as examples in this tutorial:

  • As an example for including a Python script that uses only local variables and does not access project-specific data objects, you implement a sequence to output information, such as the start time of the execution, the host name and the user name.

  • As an example for including a Python script that accesses project-specific data objects, you implement a sequence that returns the radius of a circle when it is called with a specified circle area.

  • As an example for including a Python module in a custom library, you implement a block template that returns the area of a ring when it is called with a specified inner and outer radius.


Lessons

To complete the task, you have to work through the following lesson:


Redaction