corda / net.corda.node.services.events / NodeSchedulerService / scheduleStateActivity

# scheduleStateActivity

`fun scheduleStateActivity(action: ScheduledStateRef): Unit`

Overrides SchedulerService.scheduleStateActivity

Schedule a new activity for a TX output, probably because it was just produced.

Only one activity can be scheduled for a particular StateRef at any one time. Scheduling a ScheduledStateRef replaces any previously scheduled ScheduledStateRef for any one StateRef.