Store Parameters in the Process
Sample Process - Write a Data Record
Requirement
You have created a generic event handler using the Java class ` de.uplanet.lucy.server.workflow.eventhandler.UserWorkflowEventHandler `.
Step-by-Step
-
Drag the "Data Group Action" onto the workspace.
-
Double-click the "Data Group Action."
You will be taken to the "General" dialog step.
-
Enter a title and a description.
-
Select the "Add Record" option.
For detailed information about the dialog box, see the section Data Group Action."
-
Click "Next."
You will be taken to the "Target Data Group" dialog step.
-
Select the data group to which you want to add a record.
-
Click "Next."
This takes you to the "Field Mapping" dialog step.
-
Click "Custom Value."
The "Custom Value" dialog box appears.
-
Select the "System Value" option.
-
Click "Edit System Value" at
.The "System Value" dialog box appears.
Type
Select the "Processing Context" entry here.
Value
Enter the name of the parameter here, exactly as you entered it in the "Request JSON Body" dialog step when creating the API endpoint.
See the " Request JSON Body" section for more information
-
Click "OK."
You will return to the "Custom Value" dialog box.
-
Click "OK."
You will return to the "Field Mapping" dialog step.
-
In the "Target" section, select the field (data field) to which you want to assign the parameter.
Make sure that the desired field or value is selected in the "Source" section.
-
Click the arrow icon pointing to the left.
In the "Destination" pane, the "Mapping" column displays the value that was previously selected in the "Source" pane on the right.
-
Click "OK."
You will return to the process workspace.








