Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

isFinishedSuccessfully() - Show success/failure of an action

Function:

BcAdminAction.isFinishedSuccessfully()

Specifies whether it was possible to complete the initiated action successfully.

Parameters:

bc_object
(BcObject of type BcObjectType.ACTION)

The result of a perform() call.

Return:

True if the action could be completed successfully together with all its subactions.
False if at least one of the subactions could not be completed successfully.

Exceptions:

BcObjectException

Example:

...
import BcAdminAction
import BcAdminProxy
...
proxy_obj=BcAdminProxy.getObject("BCProxy")
...
bcaction=BcAdminProxy.perform(proxy_obj, "save")
isSucc=BcAdminAction.isFinishedSuccessfully(bcaction)
...