Designer 10.7 | webMethods BPM Task Development Help | Configuring Tasks | Adding E-form Support to a Task | Adding E-forms Stored in a My webMethods Server Folder Location | Customizing Task E-form Behavior
 
Customizing Task E-form Behavior
Like any other task behavior, you can customize how e-form functionality is made available to the task user. For example, you can configure the task so that:
*The task is automatically accepted upon downloading an e-form.
*The Download button is disabled if the task is not accepted.
*Downloading an e-form is permitted even if the task is not accepted.
Similar functionality can be applied to the Upload button. You can apply these conditions by applying the appropriate binding expressions to the control in question, binding a control property to a task attribute, such as the AcceptedByCurrentUser attribute under TaskInfo.
Also note that you can use similar functionality to define the file name of the e-form being downloaded. By default, the e-form template file name is applied to the downloaded file, but you can include the task ID or any business data into the downloaded file name.
Extending this ability, you can also implement some logic to check that the uploaded file name matches the task ID or the business data in the file name to ensure that the correct e-form is being processed.
Related Topics