Defining the actions for order process
The gadget spec URL could not be found



At this point, you've implemented the forms, excluding buttons, and the workflow for order process. You've reviewed the actions in the template application and explored the actions perspective. Now you are ready to implement the actions required for the order process.

We have already identified the actions required for the order process. So let's get started with implementing the actions (listed below) in the actions perspective.
  • Create Order
  • Confirm Order
  • Cancel Order
  • Review Order
  • Close Order
Let's get started with action design implementation for order process by creating the "CreateOrder" action.

New "CreateOrder" Action
   
Click on the "Insert Action" icon. 
   

"Insert New Action" dialog box will be displayed. Enter "CreateOrder" in the name field and click on the "OK" button to create a new action.
   


Update order status
   
Insert an update command to update the order status.
   

Click on the properties tab to configure the command parameters.

Param: OrderStatus
Value: ="Open"


Submit to create order
   
Insert a submit command to forward the instance to the next workflow activity, which is customer review.
   

Click on the properties tab to configure the command parameters .

Select "Create Orders" from the dropdown list for "Submit from Activity" parameter.



What's the next step?

Create "ConfirmOrder" action.



New "ConfirmOrder" Action
   
Click on the "Insert Action" icon. 
   
"Insert New Action" dialog box will be displayed. Enter "ConfirmOrder" in the name field and click on the "OK" button to create a new action.
   


Open "ConfirmOrder" Action
   
Click on the "Open Action" icon. 
   
List of configured actions will be displayed. Double click on "ConfirmOrder" action to open.
   


 Update order status
   
Insert an update command to update the order status.
   
Click on the properties tab to configure the command parameters .

Param: OrderStatus
Value: ="Confirmed"
   


 Submit to confirm order
   
Insert a submit command to forward the instance to the next workflow activity, which is product team review.
   

Click on the properties tab to configure the command parameters.

Select "Waiting for customer review" from the dropdown list for "Submit from Activity" field.
   
What's the next step?

Create "Cancel Order" action.




New "CancelOrder" Action
   
Click on the "Insert Action" icon. 
   

"Insert New Action" dialog box will be displayed. Enter "CancelOrder" in the name field and click on the "OK" button to create a new action.
   


Update order status
   
Insert an update command to update the order status.
   

Click on the properties tab to configure the command parameters.

Param: OrderStatus
Value: ="Cancelled"


Submit to cancel order
   
Insert a submit command to forward the instance to the next workflow activity, which is product team review.
   

Click on the properties tab to configure the command parameters .

Select "Waiting for customer review" from the dropdown list for "Submit from Activity" parameter.



What's the next step?

Create "ReviewOrder" action.




New "ReviewOrder" Action
   
Click on the "Insert Action" icon. 
   

"Insert New Action" dialog box will be displayed. Enter "ReviewOrder" in the name field and click on the "OK" button to create a new action.
   


Update order status
   
Insert an update command to update the order status.
   

Click on the properties tab to configure the command parameters.

Param: OrderStatus
Value: ="Reviewed"


Submit to review order
   
Insert a submit command to forward the instance to the next workflow activity, which is customer relations team review.
   

Click on the properties tab to configure the command parameters .

Select "Waiting for product team review" from the dropdown list for "Submit from Activity" parameter.



What's the next step?

Create "CloseOrder" action.




Update order status
   
 Create a new action "CloseOrder".
  
Insert an update command to update the order status.
   

Click on the properties tab to configure the command parameters.

Param: OrderStatus
Value: ="Closed"


Submit to review order
   
Insert a submit command to forward the instance to the next workflow activity, which is closed orders.
   

Click on the properties tab to configure the command parameters .

Select "Waiting for customer relations team review" from the dropdown list for "Submit from Activity" parameter.