How to generate event with current time

This workflow generates an event with the current time it is triggered.

# set output to input
import datetime
import DateConversion
IONode.set_output('out1', {"last_activity": datetime.datetime.utcnow().replace(tzinfo=DateConversion.UTC()).isoformat()})