Registering an Activity Type
You can register activity types using the Amazon SWF console. You cannot register an activity until at least one domain is registered.
- New console
-
-
Open the domain in which you want to register an activity.
-
Choose Register, and then choose Register Activity.
-
On the Register activity page, enter the Activity name and Activity version. Optionally, you can also specify a Default task list that will be used to schedule tasks of this activity.
-
(Optional) Choose Advanced options to specify the following details for your activity:
-
Default Task priority – The default task priority to assign to the activity.
-
Default task schedule to start timeout – The default maximum duration that a task of this activity can wait before being assigned to a worker.
-
Default Task start to close timeout – The default maximum duration that a worker can take to process tasks of this activity.
-
Default task schedule to close timeout – The default maximum duration for a task of this activity.
-
Default task heartbeat timeout – The default maximum time before which a worker processing a task of this type must report progress by calling RecordActivityTaskHeartbeat.
-
-
Choose Register activity.
-
- Old console
-
To register an Amazon SWF activity type using the console
-
In the Amazon Simple Workflow Service Dashboard, under Quick Links, choose Register New Activity Type.
In the Activity Details dialog box, enter the following information.
-
Domain
-
Activity Name
-
Activity Version
-
Default Task List
-
Task Schedule to Start Timeout
-
Task Start to Close Timeout
Fields marked with an asterisk ((
*
)) are required.Choose Continue.
-
-
In the Additional Options dialog box, enter a Description and specify a Heartbeat Timeout and a Task Schedule to Close Timeout. Choose Review.
-
In the Review dialog box, review the information that you entered in the previous dialog boxes. If the information is correct, choose Register Activity. Otherwise, choose Back to change the information.
-
Choose Register Activity.
-