Workflow Actions: To Implement a Simple Action
The following activity will walk you through the process of implementing a workflow action that can later be used to trigger a transition.
Learning Objectives
In this activity, you will learn how to do the following:
- Define a graph action with an empty method
- Add a workflow action to the screen configuration
- Add a predefined category to the workflow
- Specify a category for an action
Story
On the Repair Work Orders (RS301000) form, you need to create a workflow action that can later be used to trigger a transition. The command that corresponds to this action should be displayed in the Processing category of the More menu.
Process Overview
In your extension library, you will implement the ReleaseFromHold
action and add it to a workflow on the Repair Work Orders (RS301000) form. You will
also add the Processing category to the workflow and specify
this category for the ReleaseFromHold
action.
You can later use the ReleaseFromHold
action to trigger a transition
from the OnHold
state in the following activities:
System Preparation
In an instance with the T100 dataset, make sure that you have done the following:
- Prepared an instance with the PhoneRepairShop customization project and enabled the workflow validation by performing the prerequisite activities in the Preparing an Instance for Workflow Customization chapter.
- Prepared the screen configuration and defined the set of states by performing the prerequisite activities in the Preparing a Screen Configuration chapter.