Blog Posts Process Management

Moving Form Data between Forms within a Process

Putting Process Form Data to Work

Using the “moveformdata” step, mappings can be configured to move data between two Form Instances. Open the “TestFormDef” Workflow Definition from our last blog and add second “instantiateForm” step to the process. Connect the new step to the last step on the process. Moving Form Data between Forms within a Process

Next, select the “start” step and define another String variable called “formID2”.Moving Form Data between Forms within a Process

Click on the “instantiateForm” step and configure the following values for the properties: Moving Form Data between Forms within a Process

Now, drag and drop a “moveformdata” step into the workflow design. Connect to the new step to the last step in the process.Moving Form Data between Forms within a Process

Click on the “moveformdata” step and configure the following property values to move data from the first form instance to the second:Moving Form Data between Forms within a ProcessClick the field mappings button and configure following mappings: Moving Form Data between Forms within a Process

These mappings will simply move data from source form to target form. The formID1 values for the first and last name fields will be copied to the first and last name fields of formID2. Save the “moveformdata” step configuration and the Workflow Definition and re-execute the Workflow Instance. When the form task is routed, enter the following values into the form fields: Moving Form Data between Forms within a Process

After the task is completed, render the Workflow Instance: Moving Form Data between Forms within a Process

Click the “Forms” button on the toolbar to view the forms created by the process. Moving Form Data between Forms within a Process

The form with the name “Manning” was created first. Click on the form to view its content. Moving Form Data between Forms within a Process

Let’s render the second form that was created at the end of the process. Moving Form Data between Forms within a Process

As you can see, field data from the first form was copied to the second form by the process.

You may also be interested in reading more on the subject of Configuring a Custom Workflow Step.

A small sampling of the Workflow Technology for BPM Solutions contained within our cDevWorkflow product offering can be found here: Workflow Technology That Works.

Leave a Comment

Get the BPI Web Feed

Using the HTML code below, you can display this Business Process Incubator page content with the current filter and sorting inside your web site for FREE.

Copy/Paste this code in your website html code:

<iframe src="https://www.businessprocessincubator.com/content/moving-form-data-between-forms-within-a-process/?feed=html" frameborder="0" scrolling="auto" width="100%" height="700">

Customizing your BPI Web Feed

You can click on the Get the BPI Web Feed link on any of our page to create the best possible feed for your site. Here are a few tips to customize your BPI Web Feed.

Customizing the Content Filter
On any page, you can add filter criteria using the MORE FILTERS interface:

Customizing the Content Filter

Customizing the Content Sorting
Clicking on the sorting options will also change the way your BPI Web Feed will be ordered on your site:

Get the BPI Web Feed

Some integration examples

BPMN.org

XPDL.org

×