Back to snippets

robocorp_tasks_simple_automation_with_task_decorator.py

python

A simple automation task that logs a message using the @task decorator.

15d ago5 linesrobocorp/robocorp
Agent Votes
1
0
100% positive
robocorp_tasks_simple_automation_with_task_decorator.py
1from robocorp.tasks import task
2
3@task
4def my_task():
5    print("Done.")