Action Configuration: To Create Workflow Actions and Add Them to the Workflow States
The following activity will walk you through the process of creating workflow actions and adding them to the states of the workflow.
Story
Acting as a technical specialist, you need to create Open
,
Postpone
, StartWork
, and
Resolve
actions for the Task (CR306020) form. These actions will be
workflow actions, which move a task from one state of the workflow of the form to
another state.
You need to add the new actions to the following states:
- The
Draft
state should contain theOpen
andPostpone
actions. - The
Processing
state should contain theResolve
andPostpone
actions. - The
Open
state should contain theStartWork
,Resolve
, andPostpone
actions. - The
Postponed
state should contain theOpen
action.
Process Overview
By using the Actions page, you will create the needed actions. By using the Workflow (Tree View) page, you will add the actions to the workflow states.
System Preparation
Before you begin adding actions to the workflow states, do the following:
- Launch the MYOB Acumatica website with the U100 dataset preloaded, and sign in as system
administrator by using the gibbs username and the 123
password.Tip:The gibbs user is assigned the Administrator role, which has sufficient access rights to customize workflows.
- Make sure that you have completed the Action Configuration: To Add a Category to the More Menu activity.
Step 1: Creating the Actions
To create the Open
, Postpone
,
Resolve
, and StartWork
actions, do the
following in the Customization Project Editor for the TaskWorkflow
project:
- In the navigation pane, click
The CR306020 (Task) Actions page opens.
. - On the page toolbar, click Create New Action.
- In the Action Properties dialog box, which is opened,
specify the following settings:
- Action Name: Open
- Display Name: Open
- Action Type: Workflow
- Category: Processing
- Display on Toolbar: If Available (selected
automatically)
This setting indicates that this action will be displayed as a button on the form toolbar and as a command under a category (Processing) on the More menu if the action is available for a record based on its state.
- Click OK to close the dialog box and save your changes.
- By using instructions (and settings, except for the action and display names)
that are similar to the previous three instructions, create the actions listed
in the following table.
Action Name Display Name Postpone Postpone Resolve Resolve StartWork Start Work
Step 2: Adding the Actions to the Draft State
To add the Open
and Postpone
actions to the
Draft
state, do the following:
- In the navigation pane, click
The CR306020 (Task) State Diagram: Task page opens.
. - In the States and Transitions pane, click the
Draft
state. - On the Actions tab, click Add Row
on the table toolbar, and specify the following settings in the added row:
- Active: Selected
- Action: Open (Open)
- Duplicate on Toolbar: Selected
This setting indicates that the button associated with this action will be displayed on the form toolbar, in addition to the associated command being displayed under Processing on the More menu.
- Connotation: Success
Because the
Open
action is the main action (command) in theDraft
state, you are specifying this connotation for it. As a result, the system will highlight the associated button and command in green.
- Click Add Row on the table toolbar again, and specify the
following settings in the added row:
- Active: Selected
- Action: Postpone (Postpone)
- Duplicate on Toolbar: Cleared
- Save your changes.
Step 3: Adding the Actions to the Processing State
To add the Resolve
and Postpone
actions to the
Processing
state, while you are still working on the CR306020
(Task) State Diagram: Task page, do the following:
- In the States and Transitions pane, click the
Processing
state. - On the Actions tab, click Add Row
on the table toolbar, and specify the following settings in the added row:
- Active: Selected
- Action: Resolve (Resolve)
- Duplicate on Toolbar: Selected
- Connotation: Success
- Click Add Row on the table toolbar again, and specify the
following settings in the added row:
- Active: Selected
- Action: Postpone (Postpone)
- Duplicate on Toolbar: Cleared
- Save your changes.
Step 4: Adding the Actions to the Open State
To add the Start Work
, Resolve
, and
Postpone
actions to the Open
state, while you
are still working on the CR306020 (Task) State Diagram: Task page, do the
following:
- In the States and Transitions pane, click the
Open
state. - On the Actions tab, click Add Row
on the table toolbar, and specify the following settings in the added row:
- Active: Selected
- Action: Start Work (StartWork)
- Duplicate on Toolbar: Selected
- Connotation: Success
- Click Add Row on the table toolbar again, and specify the
following settings in the added row:
- Active: Selected
- Action: Resolve (Resolve)
- Duplicate on Toolbar: Cleared
- Click Add Row on the table toolbar again, and specify the
following settings in the added row:
- Active: Selected
- Action: Postpone (Postpone)
- Duplicate on Toolbar: Cleared
- Save your changes.
Step 5: Adding the Action to the Postponed State
To add the Open
action to the Postponed
state,
while you are still working on the CR306020 (Task) Actions page, do the
following:
- In the States and Transitions pane, click the
Postponed
state. - On the Actions tab, click Add Row,
and specify the following settings in the added row:
- Active: Selected
- Action: Open (Open)
- Duplicate on Toolbar: Cleared
- Save your changes.