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() - Erfolg/Misserfolg einer Aktion anzeigen

Funktion:

BcAdminAction.isFinishedSuccessfully()

Gibt an, ob die angestoßene Aktion erfolgreich ausgeführt werden konnte.

Parameter:

bc_object
(BcObject vom Typ BcObjectType.ACTION)

Das Ergebnis eines perform()-Aufrufs.

Rückgabe:

True, wenn die Aktion mit allen Teilaktionen erfolgreich ausgeführt werden konnte, False, falls mindestens eine Teilaktion nicht erfolgreich ausgeführt werden konnte.

Exceptions:

BcObjectException

Beispiel:

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