Class: TaskUIFrame

TaskUIFrame

A TaskUIFrame control provides the following configuration properties in Process Designer:
Appearance
Style of Content:
Css file: (e.g. PortalCss.css) string
Css type: {Web | External | Server | Design} string
App acronym: (e.g. AGT) string
Width: (e.g. 50px) string
Height: (e.g. 500px) string
Behavior
Navigate On Task Closed: {True | False} boolean
Events
On Load:
Description: This event is triggered when the control is loaded.
Example:
On Service Open:
Description: This event is triggered when a service is opened.
Example:
On Service Closed:
Description: This event is triggered when a service is closed.
Example:
On Service Unavailable:
Description: This event is triggered when a service is unavailable.
Example:
On Status Changed:
Description: This event is triggered when a service is changed.
Example:

new TaskUIFrame()

This constructor is never used explicitly.

Extends

  • com.ibm.bpm.coach.CoachView

Methods

Cancels the task

getDisposition(){string}

Returns the disposition
Returns:
Type Description
string

getTaskId(){integer}

Returns the task ID
Returns:
Type Description
integer

getTitle(){boolean}

Gets the title of the frame
Returns:
Type Description
boolean
Returns the type
Returns:
Type Description
string
Checks whether the disposition is open
Returns:
Type Description
boolean

loadTask(taskSpec)

Load tasks
Name Type Description
taskSpec string | integer
Resets the control

setContentStyle(cssFile, type, appAcronym)

set the content style of the UI Frame
Name Type Description
cssFile string the name of the CSS file
type string Web | External | Server | Design
appAcronym string the acronym of the style