Try OpenEdge Now
skip to main content
ABL Reference
Class Properties and Methods Reference : MakeAvailable( ) method
 

MakeAvailable( ) method

Sets the status of a task to available.
You can use this method to make an assigned Progress.BPM.Task available again (if the current performer cannot complete it, for example). The Task must have been originally created in the available state; that is, it must be for a workstep that any member of a group can perform. This method makes the task available to all the same performers to whom it was available the last time it was in the available state.
Return type: LOGICAL
Access: PUBLIC
Applies to: Progress.BPM.Task class

Syntax

MakeAvailable( )
If the method succeeds, it returns TRUE. If the method fails, it raises a BPM error. One case in which MakeAvailable( ) fails is for a task that was not originally created as available. Note that if the task is currently in the available state, the method succeeds and the task simply continues to be available to the same performers to whom it was already available.
Note that if the values of ABL DataSlot objects associated with a Task object have been changed, the new values are not sent to the Business Process Server when MakeAvailable( ) is called. For example, if a developer gets a Task object, changes the values of some of its DataSlots, calls MakeAvailable( ) on the Task, and then gets the Task from the server again, the DataSlot values will not reflect the changes that were previously made locally to the ABL DataSlot objects. Values in ABL DataSlot objects are not updated until Complete( ) is called on the Task object.