CaseSignalAttributes Class and Methods
As part of a case data signal event handler flow, you can use the methods available on the CaseSignalAttributes class to determine whether the referenced case object has been updated, linked to or unlinked from other case objects, or (in some circumstances) deleted.
The CaseSignalAttributes class is available in any script in a case data signal event handler flow (or in a case data signal event sub-process).
Method | Description |
---|---|
isCaseUpdate() | Returns true if one or more of the referenced case object's properties has been updated. |
isCaseAssociation() | Returns true if one or more association links to or from the referenced case object has been created or deleted. Use the getChangedAssociationName() method to obtain the name of the created or deleted association link(s). |
isCaseDelete() | Returns true if the referenced case object has been deleted. |
isUnknownChange() | Returns true if the BPM runtime cannot determine whether the referenced case object has been updated, deleted, or had an association link created or deleted. This can happen if the change occurs after the case reference used by the case signal is set, but before the event handler is initialized. |
getChangedAssociationName() | Returns the name of the association link (to or from the referenced case object) that was created or deleted.
Use this method with isCaseAssociation(). |
Copyright © Cloud Software Group, Inc. All rights reserved.