Open topic with navigation

TIBCO Business Studio™ - BPM Edition 5.4.0

# Creating a New Form for an Existing User Task

For forms that are used by a business process, editing the default form for an existing user task is the most efficient way to create a form.

This is efficient for the following reasons:

- From the beginning, the default form exists in the context of the user task with which it is associated in the business process. This means that the Form field for the user task (on the General tab of the user task’s Properties view) is automatically filled in with the URL of the new form.
- If there are existing parameters associated with the user task, the new form includes user interface components, bound to the corresponding form parameters.

You can create a new form for any user task in one of the following ways:

- Go to the context menu of a user task in a business process and click Form > Open.
- On the General tab of a user task’s Properties view, select the Form... radio button.

In both of these cases, the existing default form is set on the user task as the custom form. You are prompted with a warning message informing you that "the customized form is no longer automatically kept in sync with the activity interface."

At this point, you are using the automatically created default form as a starting point for further modifications. If there are any changes to the user task interface, those are to be synchronized with the form. The form displays error-level problem markers when the parameters defined for the form are out of sync with the activity interface from which it was created.

## Form Generator Preferences

There are two Form Generator Preferences settings that can be accessed from Window > Preference > Form Designer > Generator.

- Generate text area for a string exceeding this length: Used to specify the text length threshold value above which the form generator generates a text area rather than a text input. The default value is `100`.
- Generate text area for an XSD string with no length restriction: Used to generate a text area for a BOM primitive type or property that was originally defined in an XML schema as base type xsd:string with no length restriction.
  - Checked: A text area is generated.
  - Unchecked: A text input is generated.

Note: You can set the Form Generator Preference both globally at the workspace level and override it locally at the project level. Local preference overrides must be applied to the project in which the form is generated, not the project containing the BOM.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Business Studio™ - BPM Edition

Copyright © 2015-2023. Cloud Software Group, Inc. All Rights Reserved.