Adding actions to the order form The gadget spec URL could not be found
At this point, you've successfully configured the required actions for the order process. The next step is to add these actions in the order form as buttons. Since the data to be displayed for each work activity is the same, we can create a single order form, common to all the workflow activities. However, the actions performed in each activity is different. Hence, we will have to add the actions required in each of the activities as buttons in the order form and configure (grid and cell) permissions so that only the relevant buttons are displayed for each activity.
Actions to be added in the order form:
- Create order
- Confirm order
- Cancel order
- Review order
- Close order
|
|
Insert a 1x4 grid in the order form
|
|
|
|
Select the cell (B9) where the buttons are to be added.
|
|
|
|
Insert a 1x4 grid using the insert grid option.
|
|
|
 |
Grid properties dialog box will be displayed. Enter the required number of rows and columns, and click on the "OK" button. |
|
|
|
|
|
|
|
Insert "Create Order" button
|
|
|
|
Select the cell (A1) in the newly inserted grid.
|
|
|
|
Open the actions widget tab. Click on the button icon next to the create order action.
|
|
|
|
|
|
Properties dialog box for "CreateOrder" button will be displayed. Update the button properties.
Caption: Display name for the button.
For example, "Create Order".
Status: Message to be displayed to notify the user.
For example, "Order created successfully!"
Target: Destination page on successful execution of the action.
Validate: Select this option if validations are to be executed before the "Create Order" action is performed.
Click on the "Done" button. |
|
|
|
If required, apply styles to the button using the "Cell Styles" option.
|
|
|
|
Insert a 1x3 grid in the order form
|
|
|
|
Select the cell (B2) in the newly inserted grid where the confirm and cancel buttons are to be added.
|
|
|
|
Insert a 1x3 grid using the insert grid option.
|
|
|
 |
Grid properties dialog box will be displayed. Enter the required number of rows and columns, and click on the "OK" button. |
|
|
|
|
|
|
|
Insert "Confirm Order" button
|
|
|
|
Select the cell (B1) in the newly inserted grid.
|
|
|
|
Open the actions widget tab. Click on the button icon next to the confirm order action.
|
|
|
|
|
|
Properties dialog box for "CreateOrder" button will be displayed. Update the button properties.
Caption: Display name for the button.
For example, "Confirm Order".
Status: Message to be displayed to notify the user.
For example, "Order confirmed successfully!"
Target: Destination page on successful execution of the action.
Validate: Select this option if validations are to be executed before the "Confirm Order" action is performed.
Click on the "Done" button. |
|
|
|
If required, apply styles to the button using the "Cell Styles" option.
|
|
|
|
Insert "Cancel Order" button
|
|
|
|
Select the cell (C1) in the newly inserted grid.
|
|
|
|
Open the actions widget tab. Click on the button icon next to the cancel order action.
|
|
|
|
|
|
Properties dialog box for "CancelOrder" button will be displayed. Update the button properties.
Caption: Display name for the button.
For example, "Cancel Order".
Status: Message to be displayed to notify the user.
For example, "Order cancelled successfully!"
Target: Destination page on successful execution of the action.
Validate: Select this option if validations are to be executed before the "Cancel Order" action is performed.
Click on the "Done" button. |
|
|
|
If required, apply styles to the button using the "Cell Styles" option.
|
|
|
|
Insert "Review Order" button
|
|
|
|
Select the cell (C1) as shown in the screen capture.
|
|
|
|
Open the actions widget tab. Click on the button icon next to the review order action.
|
|
|
|
|
|
Properties dialog box for "ReviewOrder" button will be displayed. Update the button properties.
Caption: Display name for the button.
For example, "Review Order".
Status: Message to be displayed to notify the user.
For example, "Order reviewed successfully!"
Target: Destination page on successful execution of the action.
Validate: Select this option if validations are to be executed before the "Review Order" action is performed.
Click on the "Done" button. |
|
|
|
If required, apply styles to the button using the "Cell Styles" option.
|
|
|
|
Insert "Close Order" button
|
|
|
|
Select the cell (D1) as shown in the screen capture.
|
|
|
|
Open the actions widget tab. Click on the button icon next to the close order action.
|
|
|
|
|
|
Properties dialog box for "CloseOrder" button will be displayed. Update the button properties.
Caption: Display name for the button.
For example, "Close Order".
Status: Message to be displayed to notify the user.
For example, "Order closed successfully!"
Target: Destination page on successful execution of the action.
Validate: Select this option if validations are to be executed before the "Close Order" action is performed.
Click on the "Done" button. |
|
|
|
If required, apply styles to the button using the "Cell Styles" option.
|
 | What's the next step?
Configure the permissions for the different form elements. | | |
|
|
|