Registering a Workflow Type
You can register workflow types using the Amazon SWF console. You cannot register a workflow until at least one domain is registered.
- New console
-
To register an Amazon SWF workflow using the console
-
Open the domain in which you want to register a workflow.
-
Choose Register, and then choose Register Workflow.
-
On the Register Workflow page, enter the Workflow name and Workflow version. Optionally, you can also specify a Default task list that will be used to schedule decision tasks for executions of this workflow.
-
(Optional) Choose Advanced options to specify the following details for your workflow:
-
Default Task priority – The default task priority to assign to the workflow.
-
Default Task priority – The default task priority to assign to the workflow.
-
Default Execution start to close timeout – The default maximum duration for executions of this workflow.
-
Default Task start to close timeout – The default maximum duration of decision tasks for this workflow.
-
Default Child policy – The default policy to use for the child workflow executions.
-
Default Lambda role – The default IAM role attached to this workflow.
-
-
Choose Register workflow.
-
- Old console
-
To register an Amazon SWF workflow using the console
-
In the Amazon Simple Workflow Service Dashboard, under Quick Links, choose Register New Workflow Type.
In the Workflow Details dialog box, enter the following information.
-
Domain
-
Workflow Name
-
Workflow Version
-
Default Task List
-
Default Execution Run Time
-
Default Task Run Time
Fields marked with an asterisk ((
*
)) are required.Choose Continue.
-
-
In the Additional Options dialog box, enter a Description and specify a Default Child Policy. 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 Workflow. Otherwise, choose Back to change the information.
-
Choose Register workflow.
-