Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 3 WCC Tools Methods : Introduction

Introduction
The WCC tools methods allow you to perform application functions through method calls when using a customized WCC application. (Note that there are also equivalent methods called the "IPC" tools methods that can be used with the iProcess Client application. Those methods are described in the TIBCO iProcess Workspace (Browser) Configuration and Customization guide.)
These static methods provide the same functionality that is available through the client application (as well as the iProcess Workspace (Browser) components), such as starting a case and opening a work item.
Most of the WCC tools methods expect a tag of some sort (for example, case tag, work item tag, etc.). Tags are intentionally opaque, that is, we do not provide the information needed to build them — you are expected to acquire them in one of several ways:
In this scenario, you would typically disable the default handler for an action on a component from which you acquired the tag so that you could perform, when desired, the function that the handler would have performed by default. For example, you may want to perform some custom business logic when the user double-clicks on a work item in a work item list, then have the work item open. In this case, you would disable the default handler for the Open property on the WorkItems component, then subscribe to the List Item Execute (double click) event on the WorkItems component. When the user double-clicks on a work item, you can perform your custom logic, then call the openWorkItem WCC tools method to open the work item.
For information about disabling the default handler, see the Using the Properties Editor chapter in the TIBCO iProcess Workspace (Browser) Components Concepts guide.
Tags can be acquired through the iProcess Server Objects object model, specifically using the getTag and makeTag methods. For information, see the TIBCO iProcess Server Objects (Java or .NET) Programmer’s Guide.
You can also acquire tags through an Action Processor response XML. For information, see the TIBCO iProcess Workspace (Browser) Action Processor Reference.
The WCC tools methods are available only if the components portion of the iProcess Workspace (Browser) is installed. For more information, see the TIBCO iProcess Workspace (Browser) Installation guide.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved