Before You Begin
Purpose
This OBE shows you how to create a new workflow process in the Workflow Studio.
Time to Complete
45-Minutes
Background
Starting with Tools Release 9.2.6.4, you can create a new workflow process in the Workflow Studio. The Workflow Studio is a web-based user interface that you can launch from the Orchestrator Studio. This enhancement removes the dependency on the Object Management Workbench to create a new workflow process.
Note: The ability to create a workflow process by using OMW is still available.
Scenario
For this OBE, consider a scenario in which you want to create a new workflow where a request is made by a new employee for a new computer. After the request is submitted, the workflow sends an email to the supervisor for approval. Your goal for this tutorial is to create a new workflow process, define the key and additional data structures, and add and configure tasks. To achieve this objective, you will replicate the configurations of an existing workflow process, EESETUP01.
Prerequisite
Before performing the tasks in the tutorial, you must ensure that:
- Orchestrator Studio 9.2.6 is deployed in a JD Edwards EnterpriseOne test environment.
Creating
a New Workflow Process
- Log in to the Orchestrator Studio.
- Click the Workflows icon to access the Workflow Studio.
- With Tools Release 9.2.6.4, Workflows opens with a new
untitled workflow process by default. Enter
EESETUP01
in the Search field to check the existing versions of the workflow in the system.
Note: A workflow may have multiple versions. The number that follows the workflow name represents the version of the workflow. Multiple versions can be inactive, but only one version can be active at a time. Check for the highest numbered version available and assign a version one higher than the highest version for the new workflow process. For example, if the highest version for EESETUP01 is 3, enter 4 in the Version field. - After you have verified the version, click the diagram workspace to complete the fields for the new workflow process.
- Enter
EESETUP01
in the Name field. - To assign a new version to the workflow in the Version field, use the arrows to increase the version.
- The system assigns the Product Code as 55-Reserved for Clients by default. You can retain or change this product code according to your reporting requirement.
- Enter
Employee Setup Approval
in the Description field. - Click Save.

Your new workflow process is ready to configure.
Defining
Key and Additional Data Structures
A JD Edwards EnterpriseOne workflow process requires these two data structures:
- Key: A key data structure contains the data items that make an instance of a process unique, similar to how the primary key in a table is the unique index in a table.
- Additional: An additional data structure contains all the other data that the process, and any task within the process, needs to complete the process flow.
See “Creating Key and Additional Data Structures” in the Workflows Tools Guide for details.
- Click the Key Data Structure icon and then click the Search icon. A search pop-up window opens.
- Enter
WF08710A
in the Search field and click the Search icon. - Select WF08710A from the Object list.
- Click the Additional Data Structure icon and then click the Search icon. A search window pops up.
- Enter
WF08710B
in the Search field and click the Search icon. - Select WF08710B from the Object list.
- Click Save.


Adding
Tasks and Transitions to the Workflow Process
For a new workflow process, the Start and End tasks are present in the diagram workspace. You must add other tasks between the Start and End tasks. For completing the EESETUP01 workflow you need to add two Business Function tasks, one Action Message task, and two transitions.
- Click the Diagram icon
to access the diagram workspace.
- Drag and drop the first Business Function task between the Start and End tasks in the diagram workspace.
- Drag an Action Message task and place it after the first Business Function task in the diagram workspace.
- Drag and place the second Business Function task after the Action Message task.
- An arrow appears on the Action Message task when you hover over it. Click the arrow and drag it to the End task to create a link between the Action Message and the End task.
- To create a Transition Condition that is to be followed in case of approval, right-click the link between the Action task and the second Business Function task and click Add and Attach Transition Condition.
- In the Edit Condition window, enter
IF_APPROVE
in the Task Name field and enterIf Process Approved
in the Description field. - Click the Additional Data Structure icon in the right pane and select cApprovalActionCode from the list to define the Left Operand.
- Click the Edit icon under the Right Operand column and then
the click Literal icon
in the right pane. Enter
V
in the Single Value field. - Click OK.
- Close the Edit Condition window.
- To create a Transition Condition that is to be followed in case of rejection, right-click the link between the Action task and the End task and click Add and Attach Transition Condition.
- In the Edit Condition window, enter
IF_REJECT
in the Task Name field and enterIf Process Rejected
in the Description field. - Click the Additional Data Structure icon in the right pane and select cApprovalActionCode from the list to define the Left Operand.
- Click the Edit icon under the Right Operand column and then
click the Literal icon
in the right pane. Enter
2
in the Single Value field. - Click OK.
- Close the Edit Condition window.
- Click Save.




Configuring
Tasks in the Workflow Process
- Click the first Business Function task and then click the
Edit icon
in the Task Revision column.
- In the Business Function Editor window, click the Search icon in the Function Object Name field. The search window pops up.
- Enter
N0800124
in the Search field and click the Search icon. - Select N0800124 from the Object list.
- Select UpdateF08710Status from the drop-down list in the Function Name field.
- For the field mnEmployeeSetupID, click the drop-down list under Mapping and select mnEmployeeSetupID_ESID from the Key Data structure.
- Enable the Input switch for szEmployeeSetupStatus and enter
W
in the Literal column. - Enable both Input and Output switches for mnErrorCode. Click the drop-down list under Mapping and select mnErrorCode_MATH01 from the Additional Data structure.
- Close the Business Function Editor window.
- Select the Action Message task and then click the Edit icon
in the Task Revision column.
- In the Message Editor window, select Address Book from the drop-down list in the To Recipient field.
- Select mnAddNoApprovedBy_APRV from the drop-down list in the Address Book Number field.
- Select szMailBoxDesignator_MBDS from the drop-down list in the Mailbox field.
- Click the Search icon in the Shortcut field. A search window pops up.
- Enter
P08710A2
in the Search field and click Search. - Select P08710A2 from the object list.
- In the Form field, select W08710A2B – Employee Setup Process Approval from the drop-down list.
- Toggle the Input switch on for mnEmployeeSetupID.
- In the Mapping column for mnEmployeeSetupID, select mnEmployeeSetupID_ESID from the drop-down list under the Key Data.
- Enable the Input switch for cRequireComments and enter
0
as the Literal value. - Enable the Input switch for szActivityInstanceUniqueID.
- In the Mapping column for szActivityInstanceUniqueID, select Current Workflow Tasks from the System Values.
- Click the Search icon in the Message field. The DD Message Search window pops up.
- Enter
LM08006
in the Alias Search field and click the search icon. - Select LM08006 from the search result to assign Message Description and Message Glossary values.
- For ID &1, select szNameAlpha_ALPH from the drop-down list under the Mapping column.
- For ID &2, select mnAddressNumber_AN8 from the drop-down list under the Mapping column.
- Close the Message Editor window.
- Select the second Business Function task and then click the
Edit icon
in the Task Revision column.
- In the Business Function Editor window, click the Search icon in the Function Object Name field. The search window pops up.
- Enter
N0800129
in the Search field and click the Search icon. - Select N0800129 from the Object list.
- Select StartSetupTasks from the drop-down list in the Function Name field.
- Enable the Input switch for mnEmployeeSetupID.
- Under the Mapping column, select mnEmployeeSetupID_ESID from the drop-down list.
- Enable the Input switch for szEESetupVersion.
- Under the Mapping column, select szVersion_VERS from the drop-down list.
- Close the Business Function Editor window.
- Click Save to save your changes to the workflow process. The system displays the message, “Save Successful.”
- You must validate your workflow process before you can activate it. To validate the workflow process, click Manage and then click Validate. The system displays the message, “Validate Successful.”



Want
to Learn More?
- “Adding Tasks to a JD Edwards EnterpriseOne Workflow Process” in the Workflow Tools Guide.